Interface TcpSocketFactorySupport

All Known Implementing Classes:
DefaultTcpNetSocketFactorySupport, DefaultTcpNetSSLSocketFactorySupport

public interface TcpSocketFactorySupport
Strategy interface for supplying Socket Factories.
Since:
2.2
  • Method Summary

    Modifier and Type Method Description
    javax.net.ServerSocketFactory getServerSocketFactory()
    Supplies the ServerSocketFactory to be used to create new ServerSockets.
    javax.net.SocketFactory getSocketFactory()
    Supplies the SocketFactory to be used to create new Sockets.
  • Method Details

    • getServerSocketFactory

      javax.net.ServerSocketFactory getServerSocketFactory()
      Supplies the ServerSocketFactory to be used to create new ServerSockets.
      Returns:
      the ServerSocketFactory
    • getSocketFactory

      javax.net.SocketFactory getSocketFactory()
      Supplies the SocketFactory to be used to create new Sockets.
      Returns:
      the SocketFactory