public class BaseRecorder<T extends BaseRecord> extends java.lang.Object implements IpssMsgListener
| Modifier and Type | Field and Description |
|---|---|
protected java.util.List<T> |
recordList |
protected double |
timeTolerance |
| Constructor and Description |
|---|
BaseRecorder() |
BaseRecorder(double timeTolerance)
Constructor
|
| Modifier and Type | Method and Description |
|---|---|
void |
addTestRecord(T rec)
add record of T to the data store of the recorder
|
void |
onMsgEvent(IpssMessage eventMsg)
Process the msg
|
boolean |
onMsgEventStatus(IpssMessage eventMsg)
Process the msg and return a status
|
java.lang.String |
toString() |
protected double timeTolerance
protected java.util.List<T extends BaseRecord> recordList
public BaseRecorder()
public BaseRecorder(double timeTolerance)
timeTolerance - public void addTestRecord(T rec)
rec - public java.lang.String toString()
toString in class java.lang.Objectpublic void onMsgEvent(IpssMessage eventMsg)
IpssMsgListeneronMsgEvent in interface IpssMsgListenerpublic boolean onMsgEventStatus(IpssMessage eventMsg)
IpssMsgListeneronMsgEventStatus in interface IpssMsgListenereventMsg - msg