public class BroadcastStreamingOperation.BcastReceiver extends java.lang.Object implements SingularReceiver
Constructor and Description |
---|
BcastReceiver() |
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.
|
boolean |
sync(int target,
byte[] message)
A sync event has occurred
|
public void init(Config cfg, java.util.Set<java.lang.Integer> targets)
SingularReceiver
init
in interface SingularReceiver
cfg
- configurationtargets
- the target idspublic boolean sync(int target, byte[] message)
SingularReceiver
sync
in interface SingularReceiver
target
- the target idpublic boolean receive(int target, java.lang.Object object)
SingularReceiver
receive
in interface SingularReceiver
target
- target idobject
- object