Package org.cometd.bayeux.server
Interface ServerSession.QueueListener
- All Superinterfaces:
org.cometd.bayeux.Bayeux.BayeuxListener,EventListener,ServerSession.ServerSessionListener
- Enclosing interface:
- ServerSession
Listener objects that implement this interface will be notified when a message is queued in the session queue.
This is a restricted listener interface, see ServerSession.QueueMaxedListener.
-
Method Summary
Modifier and TypeMethodDescriptionvoidqueued(ServerSession sender, ServerMessage message) Callback invoked when a message is queued in the session queue.
-
Method Details
-
queued
Callback invoked when a message is queued in the session queue.
- Parameters:
sender- the ServerSession that sends the message, may be null.message- the message being queued
-