public class DummyTransportAddress extends Object implements TransportAddress
| 修飾子とタイプ | フィールドと説明 |
|---|---|
static DummyTransportAddress |
INSTANCE |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
String |
getAddress()
Returns the address string for this transport address
|
String |
getHost()
Returns the host string for this transport address
|
int |
getPort()
Returns the port of this transport address if applicable
|
DummyTransportAddress |
readFrom(StreamInput in)
Reads a copy of an object with the same type form the stream input
The caller object remains unchanged.
|
boolean |
sameHost(TransportAddress other) |
String |
toString() |
short |
uniqueAddressTypeId() |
void |
writeTo(StreamOutput out)
Writes the current object into the output stream out
|
public static final DummyTransportAddress INSTANCE
public short uniqueAddressTypeId()
uniqueAddressTypeId インタフェース内 TransportAddresspublic boolean sameHost(TransportAddress other)
sameHost インタフェース内 TransportAddresspublic String getHost()
TransportAddressgetHost インタフェース内 TransportAddresspublic String getAddress()
TransportAddressgetAddress インタフェース内 TransportAddresspublic int getPort()
TransportAddressgetPort インタフェース内 TransportAddresspublic DummyTransportAddress readFrom(StreamInput in) throws IOException
StreamableReaderreadFrom インタフェース内 StreamableReader<TransportAddress>IOExceptionpublic void writeTo(StreamOutput out) throws IOException
WriteablewriteTo インタフェース内 Writeable<TransportAddress>IOExceptionpublic String toString()
toString インタフェース内 TransportAddresstoString クラス内 ObjectCopyright © 2009–2016. All rights reserved.