Interface BridgeFactory

  • All Known Implementing Classes:

    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.
        configuration - Bridge configuration.
        localTransport - Local side of bridge.
        remoteTransport - Remote side of bridge.
        listener - Bridge listener.
        the NetworkBridge