| Package | Description |
|---|---|
| org.cometd.bayeux.client | |
| org.cometd.bayeux.server |
| Modifier and Type | Interface and Description |
|---|---|
interface |
ClientSession
This interface represents the client side Bayeux session.
|
| Modifier and Type | Interface and Description |
|---|---|
interface |
LocalSession
A
LocalSession is a ClientSession within the server. |
interface |
ServerSession
Objects implementing this interface are the server-side representation of remote Bayeux clients.
|
| Modifier and Type | Method and Description |
|---|---|
void |
ServerSession.deliver(Session sender,
ServerMessage.Mutable message)
Delivers the given message to this session.
|
void |
ServerSession.deliver(Session sender,
java.lang.String channel,
java.lang.Object data)
Delivers the given information to this session.
|
void |
ServerChannel.publish(Session from,
java.lang.Object data)
Publishes the given information to this channel.
|
void |
ServerChannel.publish(Session from,
ServerMessage.Mutable message)
Publishes the given message to this channel, delivering
the message to all the
ServerSessions subscribed to
this channel. |
Copyright © 2008–2019 The CometD Project. All rights reserved.