org.apache.qpid.proton.driver.impl
Class DriverImpl

java.lang.Object
  extended by org.apache.qpid.proton.driver.impl.DriverImpl
All Implemented Interfaces:
Driver

public class DriverImpl
extends Object
implements Driver


Constructor Summary
DriverImpl()
           
 
Method Summary
 Connector connector()
           
 Iterable<Connector> connectors()
           
<C> Connector<C>
createConnector(SelectableChannel c, C context)
           
<C> Connector<C>
createConnector(String host, int port, C context)
           
<C> Listener<C>
createListener(ServerSocketChannel c, C context)
           
<C> Listener<C>
createListener(String host, int port, C context)
           
protected
<C> Connector<C>
createServerConnector(SelectableChannel c, C context, Listener<C> l)
           
 void destroy()
           
 void doWait(long timeout)
           
 Listener listener()
           
 Iterable<Listener> listeners()
           
<C> void
removeConnector(Connector<C> c)
           
 void wakeup()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DriverImpl

public DriverImpl()
           throws IOException
Throws:
IOException
Method Detail

wakeup

public void wakeup()
Specified by:
wakeup in interface Driver

doWait

public void doWait(long timeout)
Specified by:
doWait in interface Driver

listener

public Listener listener()
Specified by:
listener in interface Driver

connector

public Connector connector()
Specified by:
connector in interface Driver

destroy

public void destroy()
Specified by:
destroy in interface Driver

createListener

public <C> Listener<C> createListener(String host,
                                      int port,
                                      C context)
Specified by:
createListener in interface Driver

createListener

public <C> Listener<C> createListener(ServerSocketChannel c,
                                      C context)
Specified by:
createListener in interface Driver

createConnector

public <C> Connector<C> createConnector(String host,
                                        int port,
                                        C context)
Specified by:
createConnector in interface Driver

createConnector

public <C> Connector<C> createConnector(SelectableChannel c,
                                        C context)
Specified by:
createConnector in interface Driver

removeConnector

public <C> void removeConnector(Connector<C> c)

listeners

public Iterable<Listener> listeners()
Specified by:
listeners in interface Driver

connectors

public Iterable<Connector> connectors()
Specified by:
connectors in interface Driver

createServerConnector

protected <C> Connector<C> createServerConnector(SelectableChannel c,
                                                 C context,
                                                 Listener<C> l)


Copyright © 2013 The Apache Software Foundation. All Rights Reserved.