Class ExtendedTransportStatus


  • public class ExtendedTransportStatus
    extends TransportStatus
    ExtendedTransportStatus contains status information about the transport, and is returned by AbstractTransportEvent.getStatus(). This class extends TransportStatus to allows the user to provide additional status information including any external connection related information.
    • Constructor Summary

      Constructors 
      Constructor Description
      ExtendedTransportStatus​(java.lang.String status, long totalReceived, long totalSent, java.util.Properties statusInfo)
      Constructs a ExtendedTransportStatus instance with the specified parameters.
    • Constructor Detail

      • ExtendedTransportStatus

        public ExtendedTransportStatus​(java.lang.String status,
                                       long totalReceived,
                                       long totalSent,
                                       java.util.Properties statusInfo)
        Constructs a ExtendedTransportStatus instance with the specified parameters.
        Parameters:
        status - A string containing a transport-specific status message. Strings longer than 1024 characters will be truncated.
        totalReceived - The total number of downstream events received since the IAF was run.
        totalSent - The total number of upstream events sent since the IAF was run.
        statusInfo - Any additional status information about this transport. Standard statusInfo keys are:
      • VERSION=transport_version_string
      • CONFIG_VERSION=config_version_string
      • CONNECTION=connectionGeneration (if adapter manages only one connection), or
      • CONNECTION_connectionId=connectionGeneration (if adapter manages multiple connections)