public class NodeStateProtocol.NodeStateResponse extends TextProtocol.ResponseMessage
messagePrefixNocheck, sendVersion| Constructor and Description |
|---|
NodeStateResponse(String line,
String[] tokens) |
NodeStateResponse(String nodeName,
String masterName,
long joinTime,
ReplicatedEnvironment.State nodeState) |
| Modifier and Type | Method and Description |
|---|---|
long |
getJoinTime() |
String |
getMasterName() |
protected String |
getMessagePrefix() |
String |
getNodeName() |
ReplicatedEnvironment.State |
getNodeState() |
TextProtocol.MessageOp |
getOp() |
String |
wireFormat() |
equals, hashCode, wireFormatPrefixgetCurrentTokenPosition, getProtocol, getSenderId, getSendVersion, hasMoreTokens, nextPayloadToken, setSendVersionpublic NodeStateResponse(String nodeName, String masterName, long joinTime, ReplicatedEnvironment.State nodeState)
public NodeStateResponse(String line, String[] tokens) throws TextProtocol.InvalidMessageException
public String getNodeName()
public String getMasterName()
public long getJoinTime()
public ReplicatedEnvironment.State getNodeState()
public TextProtocol.MessageOp getOp()
getOp in class TextProtocol.Messageprotected String getMessagePrefix()
getMessagePrefix in class TextProtocol.Messagepublic String wireFormat()
Copyright © 2024. All rights reserved.