com.jme3.network.base
Class NioKernelFactory

java.lang.Object
  extended by com.jme3.network.base.NioKernelFactory
All Implemented Interfaces:
KernelFactory

public class NioKernelFactory
extends java.lang.Object
implements KernelFactory

KernelFactory implemention for creating TCP kernels using the NIO selector model.


Field Summary
 
Fields inherited from interface com.jme3.network.base.KernelFactory
DEFAULT
 
Constructor Summary
NioKernelFactory()
           
 
Method Summary
 Kernel createKernel(int channel, int port)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

NioKernelFactory

public NioKernelFactory()
Method Detail

createKernel

public Kernel createKernel(int channel,
                           int port)
                    throws java.io.IOException
Specified by:
createKernel in interface KernelFactory
Throws:
java.io.IOException