rice.pastry.socket.nat.probe
Class ProbeRequestMessage
java.lang.Object
rice.pastry.messaging.Message
rice.pastry.messaging.PRawMessage
rice.pastry.socket.nat.probe.ProbeRequestMessage
- All Implemented Interfaces:
- Serializable, Message, RawMessage, RawSerializable
public class ProbeRequestMessage
- extends PRawMessage
- See Also:
- Serialized Form
|
Field Summary |
static short |
TYPE
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final short TYPE
- See Also:
- Constant Field Values
ProbeRequestMessage
public ProbeRequestMessage(MultiInetSocketAddress probeRequestor,
long uid,
int appAddress)
- Parameters:
probeRequestor - please probe this guyuid - use this unique identifierappAddress - the application address
getProbeRequester
public MultiInetSocketAddress getProbeRequester()
getUID
public long getUID()
getType
public short getType()
serialize
public void serialize(OutputBuffer buf)
throws IOException
- Throws:
IOException
build
public static ProbeRequestMessage build(InputBuffer buf,
int appAddress)
throws IOException
- Throws:
IOException
Copyright © 2010. All Rights Reserved.