com.aelitis.azureus.core.networkmanager.impl.tcp
Class VirtualAcceptSelector

java.lang.Object
  extended by com.aelitis.azureus.core.networkmanager.impl.tcp.VirtualAcceptSelector

public class VirtualAcceptSelector
extends java.lang.Object

Virtual server socket channel for listening and accepting incoming connections.


Nested Class Summary
static interface VirtualAcceptSelector.AcceptListener
          Listener notified when a new incoming connection is accepted.
 
Constructor Summary
protected VirtualAcceptSelector()
           
 
Method Summary
 void cancel(java.nio.channels.ServerSocketChannel channel)
           
static VirtualAcceptSelector getSingleton()
           
 void register(java.nio.channels.ServerSocketChannel channel, VirtualAcceptSelector.AcceptListener listener)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VirtualAcceptSelector

protected VirtualAcceptSelector()
Method Detail

getSingleton

public static VirtualAcceptSelector getSingleton()

register

public void register(java.nio.channels.ServerSocketChannel channel,
                     VirtualAcceptSelector.AcceptListener listener)

cancel

public void cancel(java.nio.channels.ServerSocketChannel channel)