org.inria.myriads.snoozenode.heartbeat.message
Class HeartbeatMessage

java.lang.Object
  extended by org.inria.myriads.snoozenode.heartbeat.message.HeartbeatMessage
All Implemented Interfaces:
Serializable

public final class HeartbeatMessage
extends Object
implements Serializable

Heartmeat message.

Author:
Eugen Feller
See Also:
Serialized Form

Constructor Summary
HeartbeatMessage()
           
 
Method Summary
 org.inria.myriads.snoozecommon.communication.NetworkAddress getHeartbeatAddress()
          Returns the heartbeat address.
 String getId()
          Returns the identifier.
 org.inria.myriads.snoozecommon.communication.groupmanager.ListenSettings getListenSettings()
          Returns the listen settings.
 void setHeartbeatAddress(org.inria.myriads.snoozecommon.communication.NetworkAddress heartbeatAddress)
          Sets the heartbeat address.
 void setId(String id)
          Sets the identifier.
 void setListenSettings(org.inria.myriads.snoozecommon.communication.groupmanager.ListenSettings listenSettings)
          Sets the listen settings.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

HeartbeatMessage

public HeartbeatMessage()
Method Detail

setId

public void setId(String id)
Sets the identifier.

Parameters:
id - The identifier

getId

public String getId()
Returns the identifier.

Returns:
The identifier

setListenSettings

public void setListenSettings(org.inria.myriads.snoozecommon.communication.groupmanager.ListenSettings listenSettings)
Sets the listen settings.

Parameters:
listenSettings - The listen settings

getListenSettings

public org.inria.myriads.snoozecommon.communication.groupmanager.ListenSettings getListenSettings()
Returns the listen settings.

Returns:
The listen settings

setHeartbeatAddress

public void setHeartbeatAddress(org.inria.myriads.snoozecommon.communication.NetworkAddress heartbeatAddress)
Sets the heartbeat address.

Parameters:
heartbeatAddress - The heartbeat address

getHeartbeatAddress

public org.inria.myriads.snoozecommon.communication.NetworkAddress getHeartbeatAddress()
Returns the heartbeat address.

Returns:
The heartbeat address


Copyright © 2012. All Rights Reserved.