Uses of Interface
org.cometd.bayeux.server.ServerChannel
-
Packages that use ServerChannel Package Description org.cometd.bayeux.server org.cometd.oort org.cometd.server org.cometd.server.filter -
-
Uses of ServerChannel in org.cometd.bayeux.server
Methods in org.cometd.bayeux.server that return ServerChannel Modifier and Type Method Description ServerChannel
BayeuxServer. getChannel(java.lang.String channelId)
Methods in org.cometd.bayeux.server that return types with arguments of type ServerChannel Modifier and Type Method Description MarkedReference<ServerChannel>
BayeuxServer. createChannelIfAbsent(java.lang.String channelName, ConfigurableServerChannel.Initializer... initializers)
Creates aServerChannel
and initializes it atomically if the channel does not exist, or returns it if it already exists.java.util.List<ServerChannel>
BayeuxServer. getChannels()
java.util.Set<ServerChannel>
ServerSession. getSubscriptions()
Methods in org.cometd.bayeux.server with parameters of type ServerChannel Modifier and Type Method Description default boolean
SecurityPolicy. canPublish(BayeuxServer server, ServerSession session, ServerChannel channel, ServerMessage message)
default void
SecurityPolicy. canPublish(BayeuxServer server, ServerSession session, ServerChannel channel, ServerMessage message, Promise<java.lang.Boolean> promise)
Checks if a client can publish a message to a channel.default boolean
SecurityPolicy. canSubscribe(BayeuxServer server, ServerSession session, ServerChannel channel, ServerMessage message)
default void
SecurityPolicy. canSubscribe(BayeuxServer server, ServerSession session, ServerChannel channel, ServerMessage message, Promise<java.lang.Boolean> promise)
Checks if a subscribe message from a client is allowed to subscribe to a channel.default void
BayeuxServer.ChannelListener. channelAdded(ServerChannel channel)
Callback invoked when aServerChannel
has been added to aBayeuxServer
object.default boolean
ServerChannel.MessageListener. onMessage(ServerSession sender, ServerChannel channel, ServerMessage.Mutable message)
default void
ServerChannel.MessageListener. onMessage(ServerSession sender, ServerChannel channel, ServerMessage.Mutable message, Promise<java.lang.Boolean> promise)
Callback invoked when a message is being published.default void
BayeuxServer.SubscriptionListener. subscribed(ServerSession session, ServerChannel channel, ServerMessage message)
Callback invoked when aServerSession
subscribes to aServerChannel
.default void
ServerChannel.SubscriptionListener. subscribed(ServerSession session, ServerChannel channel, ServerMessage message)
Callback invoked when the givenServerSession
subscribes to the givenServerChannel
.default void
BayeuxServer.SubscriptionListener. unsubscribed(ServerSession session, ServerChannel channel, ServerMessage message)
Callback invoked when aServerSession
unsubscribes from aServerChannel
.default void
ServerChannel.SubscriptionListener. unsubscribed(ServerSession session, ServerChannel channel, ServerMessage message)
Callback invoked when the givenServerSession
unsubscribes from the givenServerChannel
. -
Uses of ServerChannel in org.cometd.oort
Methods in org.cometd.oort with parameters of type ServerChannel Modifier and Type Method Description boolean
Oort.CloudListener. onMessage(ServerSession from, ServerChannel channel, ServerMessage.Mutable message)
boolean
OortService. onMessage(ServerSession from, ServerChannel channel, ServerMessage.Mutable message)
-
Uses of ServerChannel in org.cometd.server
Classes in org.cometd.server that implement ServerChannel Modifier and Type Class Description class
ServerChannelImpl
Methods in org.cometd.server that return ServerChannel Modifier and Type Method Description ServerChannel
BayeuxServerImpl. getChannel(java.lang.String channelId)
Methods in org.cometd.server that return types with arguments of type ServerChannel Modifier and Type Method Description MarkedReference<ServerChannel>
BayeuxServerImpl. createChannelIfAbsent(java.lang.String channelName, ConfigurableServerChannel.Initializer... initializers)
java.util.List<ServerChannel>
BayeuxServerImpl. getChannels()
java.util.Set<ServerChannel>
ServerSessionImpl. getSubscriptions()
Methods in org.cometd.server with parameters of type ServerChannel Modifier and Type Method Description boolean
DefaultSecurityPolicy. canPublish(BayeuxServer server, ServerSession session, ServerChannel channel, ServerMessage message)
boolean
DefaultSecurityPolicy. canSubscribe(BayeuxServer server, ServerSession session, ServerChannel channel, ServerMessage message)
-
Uses of ServerChannel in org.cometd.server.filter
Methods in org.cometd.server.filter with parameters of type ServerChannel Modifier and Type Method Description java.lang.Object
DataFilter. filter(ServerSession session, ServerChannel channel, java.lang.Object data)
Modifies the given message data.java.lang.Object
JSONDataFilter. filter(ServerSession session, ServerChannel channel, java.lang.Object data)
protected java.lang.Object
JSONDataFilter. filterArray(ServerSession session, ServerChannel channel, java.lang.Object array)
protected java.lang.Object
JSONDataFilter. filterBoolean(ServerSession session, ServerChannel channel, java.lang.Boolean bool)
protected java.lang.Object
JSONDataFilter. filterCollection(ServerSession session, ServerChannel channel, java.util.Collection<java.lang.Object> collection)
protected java.lang.Object
JSONDataFilter. filterList(ServerSession session, ServerChannel channel, java.util.List<java.lang.Object> list)
protected java.lang.Object
JSONDataFilter. filterMap(ServerSession session, ServerChannel channel, java.util.Map<java.lang.String,java.lang.Object> map)
protected java.lang.Object
JSONDataFilter. filterNumber(ServerSession session, ServerChannel channel, java.lang.Number number)
protected java.lang.Object
JSONDataFilter. filterObject(ServerSession session, ServerChannel channel, java.lang.Object data)
protected java.lang.Object
JSONDataFilter. filterString(ServerSession session, ServerChannel channel, java.lang.String string)
protected java.lang.Object
NoMarkupFilter. filterString(ServerSession session, ServerChannel channel, java.lang.String string)
protected java.lang.Object
NoScriptsFilter. filterString(ServerSession session, ServerChannel channel, java.lang.String string)
protected java.lang.Object
RegexFilter. filterString(ServerSession session, ServerChannel channel, java.lang.String string)
boolean
DataFilterMessageListener. onMessage(ServerSession from, ServerChannel channel, ServerMessage.Mutable message)
-