Uses of Interface
org.cometd.bayeux.server.ServerChannel
Package | Description |
---|---|
org.cometd.bayeux.server |
-
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
.