Rice Pastry API

Package org.mpisws.p2p.transport.simpleidentity

Interface Summary
LocalIdentifierStrategy<Identifier> Returns serialized form of the local identifier.
Serializer<Identifier>  
 

Class Summary
InetSocketAddressSerializer Serialized version byte IPversion (4 or 6) byte[] address (4 or 16 bytes) short port
MutableInetSocketAddressStrategy This is used if you are binding to 0.0.0.0 It will see if your local address changed before returning the serialized version.
PortSerializer Converts the ephemeral port to the normal port.
SimpleIdentityTransportLayer<Identifier,MessageType> The purpose of this layer is to identify the opener of a TCP connection, because the socket is using an ephemeral port.
 


Rice Pastry API

Copyright © 2001-2005 - Rice Pastry.


Imprint-Dataprotection