org.activeio.net
Class NIOSyncChannelServer

java.lang.Object
  extended byorg.activeio.net.SocketSyncChannelServer
      extended byorg.activeio.net.NIOSyncChannelServer
All Implemented Interfaces:
Channel, ChannelServer, Disposable, Service, SyncChannelServer

public class NIOSyncChannelServer
extends SocketSyncChannelServer

A SynchChannelServer that creates org.activeio.net.TcpSynchChannelobjects from accepted tcp socket connections.

Version:
$Revision$

Field Summary
 
Fields inherited from interface org.activeio.SyncChannelServer
NO_WAIT_TIMEOUT, WAIT_FOREVER_TIMEOUT
 
Constructor Summary
NIOSyncChannelServer(ServerSocketChannel socketChannel, URI bindURI, URI connectURI, boolean createWriteBufferedChannels, boolean useDirectBuffers)
           
 
Method Summary
protected  Channel createChannel(SocketStreamChannel c)
           
 
Methods inherited from class org.activeio.net.SocketSyncChannelServer
accept, dispose, getBindURI, getConnectURI, narrow, start, stop, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

NIOSyncChannelServer

public NIOSyncChannelServer(ServerSocketChannel socketChannel,
                            URI bindURI,
                            URI connectURI,
                            boolean createWriteBufferedChannels,
                            boolean useDirectBuffers)
Method Detail

createChannel

protected Channel createChannel(SocketStreamChannel c)
                         throws IOException
Overrides:
createChannel in class SocketSyncChannelServer
Throws:
IOException


Copyright © -2007 The ActiveIO Project. All Rights Reserved.