org.apache.qpid.transport
Interface NetworkDriver
- All Superinterfaces:
- Sender<ByteBuffer>
- All Known Implementing Classes:
- MINANetworkDriver
public interface NetworkDriver
- extends Sender<ByteBuffer>
open
void open(int port,
InetAddress destination,
ProtocolEngine engine,
NetworkDriverConfiguration config,
SSLContextFactory sslFactory)
throws OpenException
- Throws:
OpenException
bind
void bind(int port,
InetAddress[] addresses,
ProtocolEngineFactory protocolFactory,
NetworkDriverConfiguration config,
SSLContextFactory sslFactory)
throws BindException
- Throws:
BindException
getRemoteAddress
SocketAddress getRemoteAddress()
getLocalAddress
SocketAddress getLocalAddress()
setMaxReadIdle
void setMaxReadIdle(int idleTime)
- The length of time after which the ProtocolEngines readIdle() method should be called if no data has been
read in seconds
setMaxWriteIdle
void setMaxWriteIdle(int idleTime)
- The length of time after which the ProtocolEngines writeIdle() method should be called if no data has been
written in seconds
Licensed to the Apache Software Foundation