|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectraccoon.tibco.tibrv.uitest.recorder.TibrvMsgKeeper
public class TibrvMsgKeeper
Keeps all incoming events in a memory buffer.
| Constructor Summary | |
|---|---|
TibrvMsgKeeper(TibrvRecorder pRecorder,
java.lang.String pName,
IFactory pFactory)
Convenience constructor |
|
| Method Summary | |
|---|---|
java.lang.String |
getHandlerName()
Returns the unique logical name of this event handler. |
java.util.Hashtable |
getReceivedMessages()
The received messages |
boolean |
isRunning()
Should return true if this instance is active |
void |
onEvent(java.lang.Object pEventObject,
ITracking pEventTracking)
Handles the incoming EAI Event. |
void |
setLogger(ILogger pLogger)
|
void |
start()
Invoked by the subscribing application to inform the handler that it must load itself. |
void |
stop()
Invoked by the subscribing application to inform the handle that it must shut down. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public TibrvMsgKeeper(TibrvRecorder pRecorder,
java.lang.String pName,
IFactory pFactory)
pRecorder - the recorder to which this instance is attached.pName - the name of this module.pFactory - the factory that this memory keeper should use.| Method Detail |
|---|
public void onEvent(java.lang.Object pEventObject,
ITracking pEventTracking)
throws RaccoonException
onEvent in interface IEventHandlerpEventObject - the java object that was received by the subscriberpEventTracking - the tracking element related to this event.
RaccoonException - the only type of exception you have the right to
throw.public java.lang.String getHandlerName()
getHandlerName in interface IEventHandler
public void start()
throws RaccoonException
start in interface IEventHandlerRaccoonException - if the handler couldn't load itself.
public void stop()
throws RaccoonException
stop in interface IEventHandlerRaccoonException - if the event handler can't shut down.public boolean isRunning()
true if this instance is active
isRunning in interface IEventHandlerpublic java.util.Hashtable getReceivedMessages()
IBusMessagepublic void setLogger(ILogger pLogger)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||