|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface Channel
A Bayeux Channel.
| Method Summary | |
|---|---|
String |
getId()
|
boolean |
isPersistent()
Is the channel persistent. |
void |
publish(Client fromClient,
Object data,
String msgId)
Publish a message This is equivalent to Bayeux.publish(fromClient,channel.getId(),data,msgId). |
boolean |
remove()
|
void |
setPersistent(boolean persistent)
|
void |
subscribe(Client subscriber)
Subscribe to a channel. |
void |
unsubscribe(Client subscriber)
Unsubscribe to a channel |
| Method Detail |
|---|
boolean remove()
String getId()
void publish(Client fromClient,
Object data,
String msgId)
boolean isPersistent()
void setPersistent(boolean persistent)
persistent - true if the Channel will persist without any subscription.void subscribe(Client subscriber)
toChannel - subscriber - void unsubscribe(Client subscriber)
toChannel - subscriber -
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||