com.apama.iaf.plugin
Class CodecStatus

java.lang.Object
  extended by com.apama.iaf.plugin.CodecStatus
Direct Known Subclasses:
ExtendedCodecStatus

public class CodecStatus
extends java.lang.Object

CodecStatus contains status information about the codec, and is returned by AbstractCodecEvent.getStatus().


Constructor Summary
CodecStatus(java.lang.String status, long totalDecoded, long totalEncoded)
          Constructs a CodecStatus instance with the specified parameters.
 
Method Summary
 long getDecoded()
           
 long getEncoded()
           
 java.lang.String getStatus()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CodecStatus

public CodecStatus(java.lang.String status,
                   long totalDecoded,
                   long totalEncoded)
Constructs a CodecStatus instance with the specified parameters.

Parameters:
status - A string containing a codec-specific status message. Strings longer than 1024 characters will be truncated.
totalDecoded - The number of events decoded
totalEncoded - The number of events encoded
Method Detail

getStatus

public java.lang.String getStatus()

getDecoded

public long getDecoded()

getEncoded

public long getEncoded()


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