public class ExampleNode
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
protected PingPongProtocolTask |
finitePingPong() |
protected int |
getMyID() |
boolean |
handleIncoming(org.json.JSONObject msg) |
protected PingPongProtocolTask |
reliableSend(int id) |
protected void |
stop() |
protected ThresholdProtocolTask<java.lang.Integer,PingPongPacket.PacketType,java.lang.String> |
thresholdFetch() |
public boolean handleIncoming(org.json.JSONObject msg)
protected int getMyID()
protected void stop()
protected PingPongProtocolTask finitePingPong()
protected PingPongProtocolTask reliableSend(int id)
protected ThresholdProtocolTask<java.lang.Integer,PingPongPacket.PacketType,java.lang.String> thresholdFetch()