public class TopologyMsg extends ReplicationMsg
| Constructor and Description |
|---|
TopologyMsg(Collection<DSInfo> dsInfos,
List<RSInfo> rsInfos)
Creates a new message of the currently connected servers.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getBytes(short version)
Serializes the PDU using the provided replication protocol version.
|
Map<Integer,DSInfo> |
getReplicaInfos()
Get the DS infos.
|
List<RSInfo> |
getRsInfos()
Get the RS infos.
|
String |
toString() |
generateMsgpublic TopologyMsg(Collection<DSInfo> dsInfos, List<RSInfo> rsInfos)
dsInfos - The collection of currently connected DS servers ID.rsInfos - The list of currently connected RS servers ID.public byte[] getBytes(short version)
getBytes in class ReplicationMsgversion - The protocol version to use for serialization. The version should
normally be older than the current one.null if the message isn't supported
in that protocol version.public Map<Integer,DSInfo> getReplicaInfos()
public List<RSInfo> getRsInfos()
Copyright © 2010-2015 ForgeRock AS. All Rights Reserved.