Uses of Interface
org.cometd.bayeux.server.ServerChannel
-
Packages that use 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 ServerChannelBayeuxServer. 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 aServerChanneland 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 booleanSecurityPolicy. canPublish(BayeuxServer server, ServerSession session, ServerChannel channel, ServerMessage message)Checks if a client can publish a message to a channel.booleanSecurityPolicy. canSubscribe(BayeuxServer server, ServerSession session, ServerChannel channel, ServerMessage message)Checks if a subscribe message from a client is allowed to subscribe to a channel.voidBayeuxServer.ChannelListener. channelAdded(ServerChannel channel)Callback invoked when aServerChannelhas been added to aBayeuxServerobject.booleanServerChannel.MessageListener. onMessage(ServerSession from, ServerChannel channel, ServerMessage.Mutable message)Callback invoked when a message is being published.voidBayeuxServer.SubscriptionListener. subscribed(ServerSession session, ServerChannel channel, ServerMessage message)Callback invoked when aServerSessionsubscribes to aServerChannel.voidServerChannel.SubscriptionListener. subscribed(ServerSession session, ServerChannel channel, ServerMessage message)Callback invoked when the givenServerSessionsubscribes to the givenServerChannel.voidBayeuxServer.SubscriptionListener. unsubscribed(ServerSession session, ServerChannel channel, ServerMessage message)Callback invoked when aServerSessionunsubscribes from aServerChannel.voidServerChannel.SubscriptionListener. unsubscribed(ServerSession session, ServerChannel channel, ServerMessage message)Callback invoked when the givenServerSessionunsubscribes from the givenServerChannel.
-