com.reuters.msgtest
Class RecorderEntry

java.lang.Object
  extended bycom.reuters.msgtest.RecorderEntry

public class RecorderEntry
extends java.lang.Object

This class represents entries in the RvRecorders map. The entry wraps the incoming TibrvMsg and also holds extra information about the message, currently the time that the onMsg method was called.

Version:
@VERSION@
Author:
Mark Pollack

Constructor Summary
RecorderEntry(com.tibco.tibrv.TibrvMsg msg, long time)
          Creates a new RecorderEntry instance.
 
Method Summary
 com.tibco.tibrv.TibrvMsg getMsg()
          Get the recorded message.
 long getTime()
          Get the time that this message was recorded.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RecorderEntry

public RecorderEntry(com.tibco.tibrv.TibrvMsg msg,
                     long time)
Creates a new RecorderEntry instance.

Parameters:
msg - a TibrvMsg value
Method Detail

getTime

public long getTime()
Get the time that this message was recorded. In milliseconds.

Returns:
the time that is message was recorded.

getMsg

public com.tibco.tibrv.TibrvMsg getMsg()
Get the recorded message.

Returns:
The recorded TibrvMsg.


Copyright © 2002-2004 The RVTest Team. All Rights Reserved.