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)
EventBus
RemoteEndpoint
public EventBus publish(String path, Object o)
EventBus
RemoteEndpoint
that connected using the path value.public EventBus publish(String path, Object o, EventBus.Reply r)
EventBus
RemoteEndpoint
that connected using the path value.publish
in interface EventBus
path
- A String starting with '/'o
- an Objectr
- an EventBus.Reply
Copyright © 2018. All rights reserved.