Class TcpServerConnectionFactorySpec<S extends TcpServerConnectionFactorySpec<S,C>,C extends AbstractServerConnectionFactory>

Type Parameters:
S - the target TcpServerConnectionFactorySpec implementation type.
C - the target AbstractServerConnectionFactory implementation type.
All Implemented Interfaces:
Aware, BeanClassLoaderAware, BeanFactoryAware, DisposableBean, FactoryBean<C>, InitializingBean, Lifecycle, Phased, SmartLifecycle
Direct Known Subclasses:
TcpNetServerConnectionFactorySpec, TcpNioServerConnectionFactorySpec

public abstract class TcpServerConnectionFactorySpec<S extends TcpServerConnectionFactorySpec<S,C>,C extends AbstractServerConnectionFactory> extends AbstractConnectionFactorySpec<S,C>
Since:
5.0
Author:
Gary Russell, Artem Bilan
  • Constructor Details

    • TcpServerConnectionFactorySpec

      protected TcpServerConnectionFactorySpec(C cf)
      Create an instance.
      Parameters:
      cf - the connection factory.
      Since:
      6.0.3
    • TcpServerConnectionFactorySpec

      @Deprecated protected TcpServerConnectionFactorySpec(int port)
      Deprecated.
      since 6.0.3; use a subclass.
      Create an instance.
      Parameters:
      port - the port.
    • TcpServerConnectionFactorySpec

      @Deprecated protected TcpServerConnectionFactorySpec(int port, boolean nio)
      Deprecated.
      since 6.0.3; use a subclass.
      Create an instance.
      Parameters:
      port - the port.
      nio - true for NIO.
  • Method Details