|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectorg.opends.server.replication.protocol.ReplicationMessage
org.opends.server.replication.protocol.HeartbeatMessage
public class HeartbeatMessage
This message is sent at regular intervals by the replication server when it is sending no other messages. It allows the directory server to detect a problem sooner when a synchronization server has crashed or has been isolated from the network.
| Constructor Summary | |
|---|---|
HeartbeatMessage()
Create a new HeartbeatMessage. |
|
HeartbeatMessage(byte[] in)
Creates a new heartbeat message from its encoded form. |
|
| Method Summary | |
|---|---|
byte[] |
getBytes()
Return the byte[] representation of this message. |
| Methods inherited from class org.opends.server.replication.protocol.ReplicationMessage |
|---|
addByteArray, generateMsg, getNextLength |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public HeartbeatMessage()
public HeartbeatMessage(byte[] in)
throws java.util.zip.DataFormatException
in - The byte array containing the encoded form of the message.
java.util.zip.DataFormatException - If the byte array does not
contain a valid encoded form of the message.| Method Detail |
|---|
public byte[] getBytes()
getBytes in class ReplicationMessage
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||