org.mpisws.p2p.transport.wire
Interface WireTransportLayer
- All Superinterfaces:
- Destructable, TransportLayer<InetSocketAddress,ByteBuffer>
- All Known Implementing Classes:
- WireTransportLayerImpl
public interface WireTransportLayer
- extends TransportLayer<InetSocketAddress,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 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 © 2010. All Rights Reserved.