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