public interface SingularReceiver
| Modifier and Type | Method and Description |
|---|---|
void |
init(Config cfg,
java.util.Set<java.lang.Integer> targets)
Initialize a receiver
|
boolean |
receive(int target,
java.lang.Object object)
Receive an object for a target id.
|
default boolean |
sync(int target,
byte[] message)
A sync event has occurred
|
void init(Config cfg, java.util.Set<java.lang.Integer> targets)
cfg - configurationtargets - the target idsboolean receive(int target,
java.lang.Object object)
target - target idobject - objectdefault boolean sync(int target,
byte[] message)
target - the target id