com.sleepycat.je.rep.impl
Class NodeStateProtocol.NodeStateResponse
java.lang.Object
com.sleepycat.je.rep.impl.TextProtocol.Message
com.sleepycat.je.rep.impl.TextProtocol.ResponseMessage
com.sleepycat.je.rep.impl.NodeStateProtocol.NodeStateResponse
- All Implemented Interfaces:
- TextProtocol.WireFormatable
- Enclosing class:
- NodeStateProtocol
public class NodeStateProtocol.NodeStateResponse
- extends TextProtocol.ResponseMessage
NodeStateProtocol.NodeStateResponse
public NodeStateProtocol.NodeStateResponse(String nodeName,
String masterName,
long joinTime,
ReplicatedEnvironment.State nodeState)
NodeStateProtocol.NodeStateResponse
public NodeStateProtocol.NodeStateResponse(String line,
String[] tokens)
throws TextProtocol.InvalidMessageException
- Throws:
TextProtocol.InvalidMessageException
getNodeName
public String getNodeName()
getMasterName
public String getMasterName()
getJoinTime
public long getJoinTime()
getNodeState
public ReplicatedEnvironment.State getNodeState()
getOp
public TextProtocol.MessageOp getOp()
- Specified by:
getOp
in class TextProtocol.Message
getMessagePrefix
protected String getMessagePrefix()
- Overrides:
getMessagePrefix
in class TextProtocol.Message
wireFormat
public String wireFormat()
Copyright (c) 2004-2012 Oracle. All rights reserved.