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 |
TransportStatus(java.lang.String status,
long totalReceived,
long totalSent)
Constructs a TransportStatus instance with the specified parameters. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
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.
getStatus
public java.lang.String getStatus()
getTotalReceived
public long getTotalReceived()
getTotalSent
public long getTotalSent()
Submit a bug or feature
Copyright (c) 2013 Software AG, Darmstadt, Germany and/or Software AG USA Inc., Reston, VA, USA, and/or Terracotta Inc., San Francisco, CA, USA, and/or Software AG (Canada) Inc., Cambridge, Ontario, Canada, and/or, Software AG (UK) Ltd., Derby, United Kingdom, and/or Software A.G. (Israel) Ltd., Or-Yehuda, Israel and/or their licensors. Use, reproduction, transfer, publication or disclosure is prohibited except as specifically provided for in your License Agreement with Software AG