public class UdpLocator extends InetLocator
magicMap| コンストラクタと説明 |
|---|
UdpLocator(InetSocketAddress addr) |
| 修飾子とタイプ | メソッドと説明 |
|---|---|
RawTransport<UdpLocator> |
newRawTransport(PeerId peerId)
このピアlocatorを使った通信をサポートするRawTransportを生成する。
|
void |
serialize(ByteBuffer bb) |
equals, getAddr, getHostAddress, getHostName, getInetAddress, getPort, getSocketAddress, hashCode, putAddr, toStringdeserialize, sameClasspublic UdpLocator(InetSocketAddress addr)
public RawTransport<UdpLocator> 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.