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.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface com.softwareag.connectivity.PluginConstructorParameters
PluginConstructorParameters.CodecConstructorParameters, PluginConstructorParameters.TransportConstructorParameters
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getDefaultChannelTowardsHost()
Get the default channel used on this chain for messages sent from the transport towards the host.java.util.List<java.lang.String>
getSubscribeChannels()
Get the channels that the chain containing this transport instance is subscribed to for receiving messages from the host towards the transport.-
Methods inherited from interface com.softwareag.connectivity.PluginConstructorParameters
getChainId, getConfig, getPluginHost, getPluginName, getStatusReporter
-
-
-
-
Method Detail
-
getSubscribeChannels
java.util.List<java.lang.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
java.lang.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).
-
-