|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRecorderContext
A context class that provides the necessary infrastructure for a recorder delegate to operate. The context is passed to the recorder delegate during its initialization. This interface is not meant to be implemented by extensions.
Method Summary | |
---|---|
IPacketAttachment |
createPacketAttachment()
Creates a new packet attachment in write-only mode. |
RecorderConfiguration |
getRecorderConfiguration()
Returns the recorder configuration that the recorder delegate must conform to. |
void |
packetCaptured(IRecorderPacket packet)
Notifies the framework that a packet was captured by the recorder. |
void |
recorderPaused()
Indicates that the recorder is running, but recording is disabled. |
void |
recorderResumed()
Indicates that the recorder is running and recording. |
void |
recorderStopped(boolean failed)
Indicates that the recorder is terminated. |
void |
registerMonitor(IRecorderMonitor monitor)
Registers and initializes the specified monitor so it can operate within the recording framework. |
Methods inherited from interface com.ibm.rational.test.lt.recorder.core.extensibility.IRecordingComponentContext |
---|
currentTime, dispatchMessage, getComponentUniqueId, getLog, getTimeReference |
Method Detail |
---|
RecorderConfiguration getRecorderConfiguration()
void recorderResumed()
void recorderPaused()
void recorderStopped(boolean failed)
failed
- Indicates whether the termination occurs because of a problem (true
)
or as a regular and expected termination (false
). The framework will
interpret a recorder terminating because of a failure as a reason for terminating
the entire session. In other words, setting this argument to true
will
cause the session to stop. Otherwise, the session will stop only once all clients
are terminated. It is the recorder responsibility to log information about the failure
reason through messages sent to the user and/or the error log.void packetCaptured(IRecorderPacket packet)
IPacketAttachment
: these attachments
are allowed to have an active output stream even after this method is invoked.
packet
- A recorder packet, whose implementation is recorder-dependent.IPacketAttachment createPacketAttachment()
createPacketAttachment
in interface IPacketAttachmentFactory
void registerMonitor(IRecorderMonitor monitor)
monitor
- An uninitialized recorder monitor.
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |