|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.mpisws.p2p.transport.simpleidentity.PortSerializer
public class PortSerializer
Converts the ephemeral port to the normal port.
Constructor Summary | |
---|---|
PortSerializer()
|
Method Summary | |
---|---|
java.net.InetSocketAddress |
deserialize(InputBuffer b,
java.net.InetSocketAddress i,
java.util.Map<java.lang.String,java.lang.Object> options)
|
void |
serialize(java.net.InetSocketAddress i,
OutputBuffer b)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PortSerializer()
Method Detail |
---|
public java.net.InetSocketAddress deserialize(InputBuffer b, java.net.InetSocketAddress i, java.util.Map<java.lang.String,java.lang.Object> options) throws java.io.IOException
deserialize
in interface Serializer<java.net.InetSocketAddress>
java.io.IOException
public void serialize(java.net.InetSocketAddress i, OutputBuffer b) throws java.io.IOException
serialize
in interface Serializer<java.net.InetSocketAddress>
java.io.IOException
|
Rice Pastry API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |