com.sleepycat.je.rep.stream
Class Protocol.NodeGroupInfo
java.lang.Object
com.sleepycat.je.rep.utilint.BinaryProtocol.Message
com.sleepycat.je.rep.utilint.BinaryProtocol.SimpleMessage
com.sleepycat.je.rep.stream.Protocol.HandshakeMessage
com.sleepycat.je.rep.stream.Protocol.NodeGroupInfo
- All Implemented Interfaces:
- BinaryProtocol.WireFormatable
- Enclosing class:
- Protocol
public class Protocol.NodeGroupInfo
- extends Protocol.HandshakeMessage
Protocol.NodeGroupInfo
Protocol.NodeGroupInfo(String groupName,
UUID uuid,
NameIdPair nameIdPair,
String hostName,
int port,
NodeType nodeType,
boolean designatedPrimary)
Protocol.NodeGroupInfo
public Protocol.NodeGroupInfo(ByteBuffer buffer)
getOp
public BinaryProtocol.MessageOp getOp()
- Specified by:
getOp
in class BinaryProtocol.Message
wireFormat
public ByteBuffer wireFormat()
- Description copied from class:
BinaryProtocol.Message
- The default message consists of the operation enum and just a 0
length size.
- Specified by:
wireFormat
in interface BinaryProtocol.WireFormatable
- Overrides:
wireFormat
in class BinaryProtocol.Message
getGroupName
public String getGroupName()
getUUID
public UUID getUUID()
getNodeName
public String getNodeName()
getNodeId
public int getNodeId()
getHostName
public String getHostName()
getNameIdPair
public NameIdPair getNameIdPair()
port
public int port()
getNodeType
public NodeType getNodeType()
isDesignatedPrimary
public boolean isDesignatedPrimary()
Copyright (c) 2004-2012 Oracle. All rights reserved.