org.apache.qpid.transport
Interface NetworkDriver

All Superinterfaces:
Sender<ByteBuffer>
All Known Implementing Classes:
MINANetworkDriver

public interface NetworkDriver
extends Sender<ByteBuffer>


Method Summary
 void bind(int port, InetAddress[] addresses, ProtocolEngineFactory protocolFactory, NetworkDriverConfiguration config, SSLContextFactory sslFactory)
           
 SocketAddress getLocalAddress()
           
 SocketAddress getRemoteAddress()
           
 void open(int port, InetAddress destination, ProtocolEngine engine, NetworkDriverConfiguration config, SSLContextFactory sslFactory)
           
 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
 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
 
Methods inherited from interface org.apache.qpid.transport.Sender
close, flush, send, setIdleTimeout
 

Method Detail

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