EventBus.Reply| Constructor and Description |
|---|
EventBusImpl(org.atmosphere.cpr.MetaBroadcaster metaBroadcaster) |
| Modifier and Type | Method and Description |
|---|---|
EventBus |
publish(Object o)
Fire an object to all connected
RemoteEndpoint |
EventBus |
publish(String path,
Object o)
Fire an object to
RemoteEndpoint that connected using the path value. |
EventBus |
publish(String path,
Object o,
EventBus.Reply r)
Fire an object to
RemoteEndpoint that connected using the path value. |
<T> Future<T> |
schedule(String path,
T t,
int time,
TimeUnit unit)
Schedule a period push operation.
|
public EventBusImpl(org.atmosphere.cpr.MetaBroadcaster metaBroadcaster)
public EventBus publish(Object o)
EventBusRemoteEndpointpublic EventBus publish(String path, Object o)
EventBusRemoteEndpoint that connected using the path value.public EventBus publish(String path, Object o, EventBus.Reply r)
EventBusRemoteEndpoint that connected using the path value.publish in interface EventBuspath - A String starting with '/'o - an Objectr - an EventBus.ReplyCopyright © 2018. All rights reserved.