|
|||||||||
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.RoutableMessage
public abstract class RoutableMessage
This is an abstract class of messages of the replication protocol for message that needs to contain information about the server that send them and the destination servers to whitch they should be sent.
Field Summary | |
---|---|
static short |
ALL_SERVERS
Specifies all servers in the replication domain. |
protected short |
destination
The destination server or servers of this message. |
protected short |
senderID
The serverID of the server that sends this message. |
static short |
THE_CLOSEST_SERVER
Inside a topology of servers in the same domain, it specifies the server that is the "closest" to the sender. |
static short |
UNKNOWN_SERVER
Specifies that no server is identified. |
Constructor Summary | |
---|---|
RoutableMessage()
Creates a routable message. |
|
RoutableMessage(short senderID,
short destination)
Creates a routable message. |
Method Summary | |
---|---|
short |
getDestination()
Get the destination. |
short |
getsenderID()
Get the server ID of the server that sent this message. |
java.lang.String |
toString()
Returns a string representation of the message. |
Methods inherited from class org.opends.server.replication.protocol.ReplicationMessage |
---|
addByteArray, generateMsg, getBytes, getNextLength |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final short UNKNOWN_SERVER
public static final short ALL_SERVERS
public static final short THE_CLOSEST_SERVER
protected short destination
protected short senderID
Constructor Detail |
---|
public RoutableMessage(short senderID, short destination)
senderID
- replication server iddestination
- replication server idpublic RoutableMessage()
Method Detail |
---|
public short getDestination()
public short getsenderID()
public java.lang.String toString()
toString
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |