public class TcpLocator extends InetLocator
magicMap| コンストラクタと説明 |
|---|
TcpLocator(InetSocketAddress addr) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
RawTransport<TcpLocator> |
newRawTransport(PeerId peerId)
このピアlocatorを使った通信をサポートするRawTransportを生成する。
|
void |
serialize(ByteBuffer bb) |
equals, getAddr, getHostAddress, getHostName, getInetAddress, getPort, getSocketAddress, hashCode, putAddr, toStringdeserialize, sameClasspublic TcpLocator(InetSocketAddress addr)
public RawTransport<TcpLocator> newRawTransport(PeerId peerId) throws IOException
PeerLocatornewRawTransport クラス内 PeerLocatorpeerId - the peerId of the peer object.IOException - an exception that occurs when there is I/O error.public void serialize(ByteBuffer bb)
serialize クラス内 PeerLocatorCopyright © 2017. All rights reserved.