org.mpisws.p2p.transport.wire
Interface WireTransportLayer
- All Superinterfaces:
- Destructable, TransportLayer<java.net.InetSocketAddress,java.nio.ByteBuffer>
- All Known Implementing Classes:
- WireTransportLayerImpl
public interface WireTransportLayer
- extends TransportLayer<java.net.InetSocketAddress,java.nio.ByteBuffer>
Sends/receives ByteBuffer from InetSocketAddress
This layer does a lot of the difficult part:
- Non-blocking I/O (using selector etc)
- Enforcement of number of Sockets to prevent FileDescriptor Starvation
- Author:
- Jeff Hoye
OPTION_TRANSPORT_TYPE
static final java.lang.String OPTION_TRANSPORT_TYPE
- See Also:
- Constant Field Values
TRANSPORT_TYPE_DATAGRAM
static final int TRANSPORT_TYPE_DATAGRAM
- See Also:
- Constant Field Values
TRANSPORT_TYPE_GUARANTEED
static final int TRANSPORT_TYPE_GUARANTEED
- Note this does not provide end-to-end guarantee. Only per-hop guarantee.
- See Also:
- Constant Field Values
Copyright © 2001-2005 - Rice Pastry.