Class TransportStatus

  • Direct Known Subclasses:
    ExtendedTransportStatus

    public class TransportStatus
    extends java.lang.Object
    TransportStatus contains status information about the transport, and is returned by AbstractTransportEvent.getStatus().
    • Constructor Summary

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

      • TransportStatus

        public TransportStatus​(java.lang.String status,
                               long totalReceived,
                               long totalSent)
        Constructs a TransportStatus 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.
    • Method Detail

      • getStatus

        public java.lang.String getStatus()
      • getTotalReceived

        public long getTotalReceived()
      • getTotalSent

        public long getTotalSent()