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.ServerSocketFactorygetServerSocketFactory()Supplies theServerSocketFactoryto be used to create newServerSockets.javax.net.SocketFactorygetSocketFactory()Supplies theSocketFactoryto be used to create newSockets.
-
Method Details
-
getServerSocketFactory
javax.net.ServerSocketFactory getServerSocketFactory()Supplies theServerSocketFactoryto be used to create newServerSockets.- Returns:
- the ServerSocketFactory
-
getSocketFactory
javax.net.SocketFactory getSocketFactory()Supplies theSocketFactoryto be used to create newSockets.- Returns:
- the SocketFactory
-