Class TcpNioServerConnectionFactory

All Implemented Interfaces:
Runnable, Aware, BeanFactoryAware, BeanNameAware, InitializingBean, ApplicationContextAware, ApplicationEventPublisherAware, Lifecycle, ComponentSourceAware, ExpressionCapable, OrderlyShutdownCapable, ConnectionFactory, TcpServerConnectionFactory, NamedComponent, ManageableLifecycle, SchedulingAwareRunnable

public class TcpNioServerConnectionFactory extends AbstractServerConnectionFactory
/** Implements a server connection factory that produces TcpNioConnections using a ServerSocketChannel. Must have a TcpListener registered.
Since:
2.0
Author:
Gary Russell, Artem Bilan, Ngoc Nhan
  • Constructor Details

    • TcpNioServerConnectionFactory

      public TcpNioServerConnectionFactory(int port)
      Listens for incoming connections on the port.
      Parameters:
      port - The port.
  • Method Details