Interface BridgeFactory

  • All Known Implementing Classes:
    NetworkBridgeFactory

    public interface BridgeFactory
    Encapsulation of bridge creation logic. This SPI interface is intended to customize or decorate existing bridge implementations.
    • Method Detail

      • createNetworkBridge

        DemandForwardingBridge createNetworkBridge​(NetworkBridgeConfiguration configuration,
                                                   Transport localTransport,
                                                   Transport remoteTransport,
                                                   NetworkBridgeListener listener)
        Create a network bridge between two specified transports.
        Parameters:
        configuration - Bridge configuration.
        localTransport - Local side of bridge.
        remoteTransport - Remote side of bridge.
        listener - Bridge listener.
        Returns:
        the NetworkBridge