|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.inria.myriads.snoozenode.bootstrap.BootstrapBackend
public final class BootstrapBackend
Bootstrap backend logic.
Constructor Summary | |
---|---|
BootstrapBackend(NodeConfiguration nodeParameters)
Bootstrap backend constructor. |
Method Summary | |
---|---|
org.inria.myriads.snoozecommon.communication.groupmanager.GroupManagerDescription |
getGroupLeaderDescription()
Return current group leader. |
void |
onHeartbeatArrival(HeartbeatMessage heartbeatMessage)
Called by the heartbeat listener upon heartbeat arrival. |
void |
onHeartbeatFailure()
Called by the heartbeat listener upon heartbeat failure. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public BootstrapBackend(NodeConfiguration nodeParameters) throws Exception
nodeParameters
- The node parameters
Exception
Method Detail |
---|
public org.inria.myriads.snoozecommon.communication.groupmanager.GroupManagerDescription getGroupLeaderDescription()
public void onHeartbeatArrival(HeartbeatMessage heartbeatMessage)
onHeartbeatArrival
in interface HeartbeatListener
heartbeatMessage
- Heartbeat messagepublic void onHeartbeatFailure()
onHeartbeatFailure
in interface HeartbeatListener
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |