|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.atmosphere.jersey.Broadcastable
public class Broadcastable
Simple placeholder that can be used to broadcast message using a specific
Broadcaster.
| Constructor Summary | |
|---|---|
Broadcastable(Broadcaster b)
|
|
Broadcastable(Object message,
Broadcaster b)
Broadcast the message to the set of suspended AtmosphereResource, and write back
the message to the request which invoked the current resource method. |
|
Broadcastable(Object message,
Object callerMessage,
Broadcaster b)
Broadcast the message to the set of suspended AtmosphereResource, and write back
the callerMessage to the request which invoked the current resource method. |
|
| Method Summary | |
|---|---|
Object |
broadcast()
Broadcast the message. |
Broadcaster |
getBroadcaster()
|
Object |
getMessage()
|
Object |
getResponseMessage()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Broadcastable(Broadcaster b)
public Broadcastable(Object message,
Broadcaster b)
AtmosphereResource, and write back
the message to the request which invoked the current resource method.
message - the message which will be broadcastedb - the Broadcaster
public Broadcastable(Object message,
Object callerMessage,
Broadcaster b)
AtmosphereResource, and write back
the callerMessage to the request which invoked the current resource method.
message - the message which will be broadcastedcallerMessage - the message which will be sent back to the request.b - the Broadcaster| Method Detail |
|---|
public Object broadcast()
BroadcastFilter)public Object getMessage()
public Broadcaster getBroadcaster()
public Object getResponseMessage()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||