Interface TcpSocketFactorySupport
- All Known Implementing Classes:
DefaultTcpNetSocketFactorySupport,DefaultTcpNetSSLSocketFactorySupport
public interface TcpSocketFactorySupport
Strategy interface for supplying Socket Factories.
- Since:
- 2.2
- Author:
- Gary Russell
-
Method Summary
Modifier and TypeMethodDescriptionSupplies theServerSocketFactoryto be used to create newServerSockets.Supplies theSocketFactoryto be used to create newSockets.
-
Method Details
-
getServerSocketFactory
ServerSocketFactory getServerSocketFactory()Supplies theServerSocketFactoryto be used to create newServerSockets.- Returns:
- the ServerSocketFactory
-
getSocketFactory
SocketFactory getSocketFactory()Supplies theSocketFactoryto be used to create newSockets.- Returns:
- the SocketFactory
-