EventBus.Reply
Constructor and Description |
---|
EventBusImpl() |
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 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 © 2014. All rights reserved.