Package org.opentcs.access.rmi.factories
Interface SocketFactoryProvider
- All Known Implementing Classes:
NullSocketFactoryProvider
,SecureSocketFactoryProvider
public interface SocketFactoryProvider
A provider for instances of
RMIClientSocketFactory
and RMIServerSocketFactory
.
Generally one provider should provide compatible factories for clients and servers.-
Method Summary
Modifier and TypeMethodDescriptionReturns aRMIClientSocketFactory
.Returns aRMIServerSocketFactory
.
-
Method Details
-
getClientSocketFactory
Returns aRMIClientSocketFactory
.- Returns:
- A
RMIClientSocketFactory
. May benull
to indicate that a default factory implementation is to be used.
-
getServerSocketFactory
Returns aRMIServerSocketFactory
.- Returns:
- A
RMIServerSocketFactory
. May benull
to indicate that a default factory implementation is to be used.
-