|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRecorderDelegate
A delegate responsible of managing the lifecyle of a specific type of recorder. A recorder delegate is responsible of honoring recorder commands and sending recorder events to the framework. This interface is meant to be implemented by extensions which provide their own recorder implementation.
Method Summary | |
---|---|
void |
initialize(IRecorderContext context)
Initializes this instance so it ready to process commands and send events. |
void |
pause()
Asks the recorder delegate to pause the recorder. |
void |
resume()
Asks the recorder delegate to resume the recorder. |
void |
start(boolean recordingEnabled)
Asks the recorder delegate to start the recorder. |
void |
stop()
Asks the recorder delegate to stop the recorder. |
Methods inherited from interface com.ibm.rational.test.lt.recorder.core.extensibility.IRecordingComponentDelegate |
---|
getProperty, messageReceived, setProperty |
Method Detail |
---|
void initialize(IRecorderContext context) throws DelegateInitializeException
context
- The recorder context, that provides the recorder configuration
that this instance should conform to, and a mechanism for the delegate
to send events to other involved components.
DelegateInitializeException
- If the delegate cannot be initialized or will not be able
to run properly.void start(boolean recordingEnabled)
IRecorderContext.recorderResumed()
or IRecorderContext.recorderPaused()
.
recordingEnabled
- Whether the recorder should start with recording
enabled or disabled (i.e. in "running" or "paused" mode).void stop()
IRecorderDelegate.start(boolean)
has been invoked.
This method should return without waiting for the stop process to be completed.
The delegate is required to notify its context when the stop is complete by
invoking IRecorderContext#recorderStopped()
.
void pause()
IRecorderDelegate.start(boolean)
has been invoked.
This method should return without waiting for the pause process to be completed.
The delegate is required to notify its context when the pause is complete by
invoking IRecorderContext.recorderPaused()
.
void resume()
IRecorderDelegate.start(boolean)
has been invoked.
This method should return without waiting for the resume process to be completed.
The delegate is required to notify its context when the resume is complete by
invoking IRecorderContext.recorderResumed()
.
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |