Interface ManagedTransportConstructorParameters

All Superinterfaces:
PluginConstructorParameters, PluginConstructorParameters.TransportConstructorParameters

public interface ManagedTransportConstructorParameters extends PluginConstructorParameters.TransportConstructorParameters
A container for parameters used to create a transport plug-in instance from a chain manager.

This is a subclass of PluginConstructorParameters.TransportConstructorParameters which adds some extra information about the channels that the new chain is using.

Since:
10.0
See Also:
  • Method Details

    • getSubscribeChannels

      List<String> getSubscribeChannels()
      Get the channels that the chain containing this transport instance is subscribed to for receiving messages from the host towards the transport.
      Returns:
      Never null. Empty if this chain is only sending towards the host and not towards the transport.
    • getDefaultChannelTowardsHost

      String getDefaultChannelTowardsHost()
      Get the default channel used on this chain for messages sent from the transport towards the host. It is possible for individual messages to override this default.
      Returns:
      May be null if this chain is only sending towards the transport (or if no default was specified when the chain was created by the manager).