Package com.apama.iaf.plugin
Class TransportStatus
- java.lang.Object
-
- com.apama.iaf.plugin.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.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getStatus()
long
getTotalReceived()
long
getTotalSent()
-
-
-
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.
-
-