org.activeio.net
Class NIOSynchChannelServer
java.lang.Object
org.activeio.net.SocketSynchChannelServer
org.activeio.net.NIOSynchChannelServer
- All Implemented Interfaces:
- Channel, ChannelServer, Disposable, Service, SynchChannelServer
- public class NIOSynchChannelServer
- extends SocketSynchChannelServer
A SynchChannelServer that creates
org.activeio.net.TcpSynchChannel
objects from accepted
tcp socket connections.
- Version:
- $Revision$
Constructor Summary |
NIOSynchChannelServer(java.nio.channels.ServerSocketChannel socketChannel,
java.net.URI bindURI,
java.net.URI connectURI,
boolean createWriteBufferedChannels,
boolean useDirectBuffers)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
NIOSynchChannelServer
public NIOSynchChannelServer(java.nio.channels.ServerSocketChannel socketChannel,
java.net.URI bindURI,
java.net.URI connectURI,
boolean createWriteBufferedChannels,
boolean useDirectBuffers)
createChannel
protected Channel createChannel(java.net.Socket socket)
throws java.io.IOException
- Overrides:
createChannel
in class SocketSynchChannelServer
- Throws:
java.io.IOException
Copyright © -2005 The ActiveIO Project. All Rights Reserved.