Package bftsmart.tests.requests
Class SimpleServiceEventProcessor
- java.lang.Object
-
- bftsmart.tests.requests.SimpleServiceEventProcessor
-
- All Implemented Interfaces:
worker.IWorkerEventProcessor
public class SimpleServiceEventProcessor extends java.lang.Object implements worker.IWorkerEventProcessor
-
-
Constructor Summary
Constructors Constructor Description SimpleServiceEventProcessor()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
ended()
worker.IProcessingResult
getProcessingResult()
boolean
isReady()
void
process(java.lang.String line)
void
startProcessing()
void
stopProcessing()
-
-
-
Method Detail
-
startProcessing
public void startProcessing()
- Specified by:
startProcessing
in interfaceworker.IWorkerEventProcessor
-
stopProcessing
public void stopProcessing()
- Specified by:
stopProcessing
in interfaceworker.IWorkerEventProcessor
-
getProcessingResult
public worker.IProcessingResult getProcessingResult()
- Specified by:
getProcessingResult
in interfaceworker.IWorkerEventProcessor
-
process
public void process(java.lang.String line)
- Specified by:
process
in interfaceworker.IWorkerEventProcessor
-
isReady
public boolean isReady()
- Specified by:
isReady
in interfaceworker.IWorkerEventProcessor
-
ended
public boolean ended()
- Specified by:
ended
in interfaceworker.IWorkerEventProcessor
-
-