|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--de.oio.bugkilla.recorder.StandAloneRecorderServer
1. open a ServerSocket(port 5454) to receive the command from the
eclpise-bugkilla-plugin
2. open a ServerSocket(port 5555) to communicate
with the splitter.
Supported commands:
start - starts the recording of a TestSequence
ui - starts a new UserInteration
stop - stop the recording of a
TestSequence and store it using the PersistanceManager
off - close the
communication on port 5555
Method Summary | |
java.io.PrintWriter |
getWriter()
Returns the writer. |
static void |
main(java.lang.String[] args)
Starts the StandAloneRecorderServer and waits by using the CommandInterpreter for user-commands (eclipse-bugkilla-plugin-socket- commands) |
void |
recordSequence(TestSequence sequence)
Stores the given sequence. |
void |
setWriter(java.io.PrintWriter writer)
Sets the writer. |
void |
startRecording()
Starts recording a new TestSequence. |
void |
startRecordingUserInteraction()
Starts recording a new UserInteraction. |
void |
stop()
Stops the process of creating new TestStep objects added to the current TestSequence. |
void |
stopRecording()
Stops the recording process of creating new UserInteraction objects added to the current TestSequence. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
public static void main(java.lang.String[] args)
args
- nonepublic java.io.PrintWriter getWriter()
public void setWriter(java.io.PrintWriter writer)
writer
- The writer to setpublic void startRecording()
Commandable
stopRecording
is sent.
startRecording
in interface Commandable
Commandable.startRecording()
public void startRecordingUserInteraction()
Commandable
startRecordingUserInteraction
in interface Commandable
Commandable.startRecordingUserInteraction()
public void stop()
Commandable
stopRecording
calling this method should terminate the TestSequence
object and memorize it.
stop
in interface Commandable
Commandable.stop()
public void stopRecording()
Commandable
startRecording
.
stopRecording
in interface Commandable
Commandable.stopRecording()
public void recordSequence(TestSequence sequence)
SequenceRecorder
recordSequence
in interface SequenceRecorder
sequence
- a new TestSequence object to store.SequenceRecorder.recordSequence(de.oio.bugkilla.protocol.TestSequence)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |