|
|||||||||
| 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.StartMessage
org.opends.server.replication.protocol.ReplServerStartMessage
public class ReplServerStartMessage
Message sent by a replication server to another replication server at Startup.
| Field Summary |
|---|
| Fields inherited from class org.opends.server.replication.protocol.StartMessage |
|---|
headerLength |
| Constructor Summary | |
|---|---|
ReplServerStartMessage(byte[] in)
Creates a new ReplServerStartMessage by decoding the provided byte array. |
|
ReplServerStartMessage(short serverId,
java.lang.String serverURL,
DN baseDn,
int windowSize,
ServerState serverState,
short protocolVersion,
long generationId,
boolean sslEncryption)
Create a ReplServerStartMessage. |
|
| Method Summary | |
|---|---|
DN |
getBaseDn()
Get the base DN from this ReplServerStartMessage. |
byte[] |
getBytes()
Return the byte[] representation of this message. |
short |
getServerId()
Get the Server Id. |
ServerState |
getServerState()
Get the serverState. |
java.lang.String |
getServerURL()
Set the server URL. |
boolean |
getSSLEncryption()
Get the SSL encryption value for the server that created the message. |
int |
getWindowSize()
get the window size for the server that created this message. |
| Methods inherited from class org.opends.server.replication.protocol.StartMessage |
|---|
decodeHeader, encodeHeader, getGenerationId, getVersion |
| 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 ReplServerStartMessage(short serverId,
java.lang.String serverURL,
DN baseDn,
int windowSize,
ServerState serverState,
short protocolVersion,
long generationId,
boolean sslEncryption)
serverId - replication server idserverURL - replication server URLbaseDn - base DN for which the ReplServerStartMessage is created.windowSize - The window size.serverState - our ServerState for this baseDn.protocolVersion - The replication protocol version of the creator.generationId - The generationId for this server.sslEncryption - Whether to continue using SSL to encrypt messages
after the start messages have been exchanged.
public ReplServerStartMessage(byte[] in)
throws java.util.zip.DataFormatException
in - A byte array containing the encoded information for the
ReplServerStartMessage
java.util.zip.DataFormatException - If the in does not contain a properly
encoded ReplServerStartMessage.| Method Detail |
|---|
public short getServerId()
public java.lang.String getServerURL()
public DN getBaseDn()
public ServerState getServerState()
public byte[] getBytes()
getBytes in class ReplicationMessagepublic int getWindowSize()
public boolean getSSLEncryption()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||