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 theServerSocketFactory
to be used to create newServerSocket
s.Supplies theSocketFactory
to be used to create newSocket
s.
-
Method Details
-
getServerSocketFactory
ServerSocketFactory getServerSocketFactory()Supplies theServerSocketFactory
to be used to create newServerSocket
s.- Returns:
- the ServerSocketFactory
-
getSocketFactory
SocketFactory getSocketFactory()Supplies theSocketFactory
to be used to create newSocket
s.- Returns:
- the SocketFactory
-