public class MasterValue extends Protocol.StringValue
s
Constructor and Description |
---|
MasterValue(java.lang.String valueString) |
MasterValue(java.lang.String masterHostname,
int masterPort,
NameIdPair masterNameIdPair) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
java.lang.String |
getHostName() |
NameIdPair |
getNameId() |
java.lang.String |
getNodeName() |
static Protocol.ValueParser |
getParser()
Returns a parser that can convert a wire format value into a MasterValue
|
int |
getPort() |
int |
hashCode() |
getString, toString
init, wireFormat
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
wireFormat
public MasterValue(java.lang.String masterHostname, int masterPort, NameIdPair masterNameIdPair)
public MasterValue(java.lang.String valueString)
public java.lang.String getHostName()
public int getPort()
public java.lang.String getNodeName()
public NameIdPair getNameId()
public static Protocol.ValueParser getParser()
public int hashCode()
hashCode
in class TextProtocol.StringFormatable
public boolean equals(java.lang.Object obj)
equals
in class TextProtocol.StringFormatable
Copyright (c) 2004-2012 Oracle. All rights reserved.