org.inria.myriads.snoozenode.heartbeat.message
public final class HeartbeatMessage extends Object implements Serializable
Constructor and Description |
---|
HeartbeatMessage() |
Modifier and Type | Method and Description |
---|---|
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.
|
public void setId(String id)
id
- The identifierpublic String getId()
public void setListenSettings(org.inria.myriads.snoozecommon.communication.groupmanager.ListenSettings listenSettings)
listenSettings
- The listen settingspublic org.inria.myriads.snoozecommon.communication.groupmanager.ListenSettings getListenSettings()
public void setHeartbeatAddress(org.inria.myriads.snoozecommon.communication.NetworkAddress heartbeatAddress)
heartbeatAddress
- The heartbeat addresspublic org.inria.myriads.snoozecommon.communication.NetworkAddress getHeartbeatAddress()
Copyright © 2013. All Rights Reserved.