|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IRecorder
A recorder is a concrete recording component that can be executed in order to capture traffic
that will be initiated by a IClient
. A recorder can be started
,
stopped
, paused
and resumed
. Its nature and
behavior are parameterized by its recorder configuration
.
A recorder belongs to a recording session
, and has a state
.
It can be observed by listeners
.
Method Summary | |
---|---|
void |
addListener(IRecorderListener listener)
|
RecorderConfiguration |
getRecorderConfiguration()
|
RecorderState |
getState()
Returns the current state of the recorder. |
boolean |
isPauseSupported()
Returns whether IRecorder.pause() and IRecorder.resume() operations are supported by this recorder. |
void |
pause()
|
void |
removeListener(IRecorderListener listener)
|
void |
resume()
|
void |
start()
|
void |
stop()
|
Methods inherited from interface com.ibm.rational.test.lt.recorder.core.session.IRecordingComponent |
---|
getName, getProperty, getSession, getType, sendMessage, setProperty |
Method Detail |
---|
void start()
void stop()
void pause()
void resume()
RecorderConfiguration getRecorderConfiguration()
void addListener(IRecorderListener listener)
void removeListener(IRecorderListener listener)
RecorderState getState()
synchronized(recorder) { if (recorder.getState() == RecorderState.RECORDING) { recorder.pause(); // This method may throw an IllegalStateException // if invoked while the recorder is in STOPPING state } }
boolean isPauseSupported()
IRecorder.pause()
and IRecorder.resume()
operations are supported by this recorder.
These are optional operations and any invocation to these methods, if not supported,
will have no effect.
IRecorder.pause()
and IRecorder.resume()
operations are supported by this recorder.
|
IBM Rational Performance Tester SDK | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |