com.google.code.yanf4j.nio
Class NioSessionConfig

java.lang.Object
  extended by com.google.code.yanf4j.core.SessionConfig
      extended by com.google.code.yanf4j.nio.NioSessionConfig

public class NioSessionConfig
extends SessionConfig

Nio session configuration

Author:
dennis

Field Summary
 java.nio.channels.SelectableChannel selectableChannel
           
 SelectorManager selectorManager
           
 
Fields inherited from class com.google.code.yanf4j.core.SessionConfig
codecFactory, dispatchMessageDispatcher, handler, handleReadWriteConcurrently, queue, sessionIdelTimeout, sessionTimeout, statistics
 
Constructor Summary
NioSessionConfig(java.nio.channels.SelectableChannel sc, Handler handler, SelectorManager reactor, CodecFactory codecFactory, Statistics statistics, java.util.Queue<WriteMessage> queue, Dispatcher dispatchMessageDispatcher, boolean handleReadWriteConcurrently, long sessionTimeout, long sessionIdleTimeout)
           
 
Method Summary
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

selectableChannel

public final java.nio.channels.SelectableChannel selectableChannel

selectorManager

public final SelectorManager selectorManager
Constructor Detail

NioSessionConfig

public NioSessionConfig(java.nio.channels.SelectableChannel sc,
                        Handler handler,
                        SelectorManager reactor,
                        CodecFactory codecFactory,
                        Statistics statistics,
                        java.util.Queue<WriteMessage> queue,
                        Dispatcher dispatchMessageDispatcher,
                        boolean handleReadWriteConcurrently,
                        long sessionTimeout,
                        long sessionIdleTimeout)


Copyright © 2011. All Rights Reserved.