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 Type | Method | Description
  --- | --- | ---
  `java.rmi.server.RMIClientSocketFactory` | `getClientSocketFactory()` | Returns a `RMIClientSocketFactory`.
  `java.rmi.server.RMIServerSocketFactory` | `getServerSocketFactory()` | Returns a `RMIServerSocketFactory`.

- ## Method Details

  - ### getClientSocketFactory

    @Nullable java.rmi.server.RMIClientSocketFactory getClientSocketFactory()
    Returns a `RMIClientSocketFactory`.
    Returns:
      A `RMIClientSocketFactory`. May be `null` to indicate that a default factory implementation is to be used.

  - ### getServerSocketFactory

    @Nullable java.rmi.server.RMIServerSocketFactory getServerSocketFactory()
    Returns a `RMIServerSocketFactory`.
    Returns:
      A `RMIServerSocketFactory`. May be `null` to indicate that a default factory implementation is to be used.