Package | Description |
---|---|
org.cometd.bayeux.client | |
org.cometd.bayeux.server |
Modifier and Type | Interface | Description |
---|---|---|
interface |
ClientSession |
This interface represents the client side Bayeux session.
|
Modifier and Type | Interface | 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 | Description |
---|---|---|
default void |
ServerSession.deliver(Session sender,
String channel,
Object data) |
Deprecated.
|
void |
ServerSession.deliver(Session sender,
String channel,
Object data,
Promise<Boolean> promise) |
Delivers the given information to this session.
|
default void |
ServerSession.deliver(Session sender,
ServerMessage.Mutable message) |
Deprecated.
|
void |
ServerSession.deliver(Session sender,
ServerMessage.Mutable message,
Promise<Boolean> promise) |
Delivers the given message to this session.
|
default void |
ServerChannel.publish(Session from,
Object data) |
Deprecated.
use
ServerChannel.publish(Session, Object, Promise) instead |
void |
ServerChannel.publish(Session from,
Object data,
Promise<Boolean> promise) |
Publishes the given information to this channel.
|
default void |
ServerChannel.publish(Session from,
ServerMessage.Mutable message) |
Deprecated.
|
void |
ServerChannel.publish(Session from,
ServerMessage.Mutable message,
Promise<Boolean> promise) |
Publishes the given message to this channel, delivering
the message to all the
ServerSession s subscribed to
this channel. |
Copyright © 2008–2017 The CometD Project. All rights reserved.