Package com.facilita.fc.eggPlant
Class EggplantVUWatcher
- java.lang.Object
-
- com.facilita.fc.eggPlant.EggplantVUWatcher
-
- All Implemented Interfaces:
IEggplantVUWatcher
,IImageSender
public class EggplantVUWatcher extends java.lang.Object implements IImageSender, IEggplantVUWatcher
-
-
Constructor Summary
Constructors Constructor Description EggplantVUWatcher(EggplantResultsFolderWatcher resultsFolderWatcher, EggplantVirtualUser vu)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
attachMessageSender(com.facilita.fc.runtime.IMessageSender messageSender)
void
sendImage(byte[] image)
void
sendIterationStart(java.lang.String iteration)
void
sendTransactionStart(java.lang.String transaction)
void
start()
void
stop()
-
-
-
Constructor Detail
-
EggplantVUWatcher
public EggplantVUWatcher(EggplantResultsFolderWatcher resultsFolderWatcher, EggplantVirtualUser vu)
-
-
Method Detail
-
start
public void start()
- Specified by:
start
in interfaceIEggplantVUWatcher
-
stop
public void stop() throws java.lang.InterruptedException, java.io.IOException
- Specified by:
stop
in interfaceIEggplantVUWatcher
- Throws:
java.lang.InterruptedException
java.io.IOException
-
attachMessageSender
public void attachMessageSender(com.facilita.fc.runtime.IMessageSender messageSender)
- Specified by:
attachMessageSender
in interfaceIEggplantVUWatcher
-
sendImage
public void sendImage(byte[] image) throws java.lang.InterruptedException, java.io.UnsupportedEncodingException
- Specified by:
sendImage
in interfaceIEggplantVUWatcher
- Specified by:
sendImage
in interfaceIImageSender
- Throws:
java.lang.InterruptedException
java.io.UnsupportedEncodingException
-
sendIterationStart
public void sendIterationStart(java.lang.String iteration) throws java.io.UnsupportedEncodingException, java.lang.InterruptedException
- Specified by:
sendIterationStart
in interfaceIEggplantVUWatcher
- Throws:
java.io.UnsupportedEncodingException
java.lang.InterruptedException
-
sendTransactionStart
public void sendTransactionStart(java.lang.String transaction) throws java.io.UnsupportedEncodingException, java.lang.InterruptedException
- Specified by:
sendTransactionStart
in interfaceIEggplantVUWatcher
- Throws:
java.io.UnsupportedEncodingException
java.lang.InterruptedException
-
-