Package | Description |
---|---|
org.cometd.bayeux.server |
Modifier and Type | Interface | Description |
---|---|---|
static interface |
ServerSession.DeQueueListener |
Listeners objects that implement this interface will be notified when the session queue
is being drained to actually deliver the messages.
|
static interface |
ServerSession.HeartBeatListener |
Listeners objects that implement this interface will be notified when a
/meta/connect
message is suspended by the server, and when it is subsequently resumed. |
static interface |
ServerSession.MaxQueueListener |
Listeners objects that implement this interface will be notified when the session queue is full.
|
static interface |
ServerSession.MessageListener |
Listeners objects that implement this interface will be notified of message sending.
|
static interface |
ServerSession.QueueListener |
Listener objects that implement this interface will be notified when a message
is queued in the session queue.
|
static interface |
ServerSession.RemoveListener |
Listeners objects that implement this interface will be notified of session removal.
|
Modifier and Type | Method | Description |
---|---|---|
void |
ServerSession.addListener(ServerSession.ServerSessionListener listener) |
Adds the given listener to this session.
|
void |
ServerSession.removeListener(ServerSession.ServerSessionListener listener) |
Removes the given listener from this session.
|
Copyright © 2008–2017 The CometD Project. All rights reserved.