public interface IRecorderDelegate extends IRecordingComponentDelegate
Modifier and Type | Method and Description |
---|---|
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.
|
getProperty, messageReceived, setProperty
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()
.© Copyright IBM Corp. 2013. All rights reserved.