public class BroadcastReceiveHandler extends MasterSlaveReceiveHandler
Modifier and Type | Field and Description |
---|---|
protected byte[] |
buffer
The receive buffer.
|
agent, received_self, sendid
Constructor and Description |
---|
BroadcastReceiveHandler(BroadcastDiscoveryAgent agent)
Create a new receive handler.
|
Modifier and Type | Method and Description |
---|---|
BroadcastDiscoveryAgent |
getAgent()
Get the agent.
|
java.lang.Object[] |
receive()
Receive a packet.
|
handleReceivedPacket
announceAwareness, startReceiving
public BroadcastReceiveHandler(BroadcastDiscoveryAgent agent)
public java.lang.Object[] receive() throws java.lang.Exception
receive
in class ReceiveHandler
java.lang.Exception
public BroadcastDiscoveryAgent getAgent()
getAgent
in class MasterSlaveReceiveHandler