public class ConcurrentWorkerManager extends MaestroWorkerManager implements MaestroReceiverEventListener, MaestroSenderEventListener
clientName
Constructor and Description |
---|
ConcurrentWorkerManager(String maestroURL,
String role,
String host,
File logDir,
Class<MaestroWorker> workerClass,
MaestroDataServer dataServer)
Constructor
|
Modifier and Type | Method and Description |
---|---|
void |
handle(DrainRequest note) |
void |
handle(Halt note) |
void |
handle(LogRequest note) |
void |
handle(SetRequest note) |
void |
handle(StartReceiver note) |
void |
handle(StartSender note) |
void |
handle(StatsRequest note) |
void |
handle(StopReceiver note) |
void |
handle(StopSender note) |
void |
handle(TestFailedNotification note) |
void |
handle(TestSuccessfulNotification note) |
connect, getClient, getWorkerOptions, handle, handle, handle, handle, handle, handle, isRunning, noteArrived
connectComplete, connectionLost, deliveryComplete, disconnect, getClientName, getId, isConnected, messageArrived, reconnect, setClientName, subscribe, subscribe
public ConcurrentWorkerManager(String maestroURL, String role, String host, File logDir, Class<MaestroWorker> workerClass, MaestroDataServer dataServer)
maestroURL
- Maestro URLrole
- Worker Rolehost
- hostname for the workerlogDir
- test log directoryworkerClass
- the class for the workerdataServer
- the data server instancepublic void handle(SetRequest note)
handle
in interface MaestroEventListener
handle
in class MaestroWorkerManager
public void handle(Halt note)
handle
in interface MaestroEventListener
handle
in class MaestroWorkerManager
public void handle(StartReceiver note)
handle
in interface MaestroReceiverEventListener
public void handle(StartSender note)
handle
in interface MaestroSenderEventListener
public void handle(StopReceiver note)
handle
in interface MaestroReceiverEventListener
public void handle(StopSender note)
handle
in interface MaestroSenderEventListener
public void handle(StatsRequest note)
handle
in interface MaestroEventListener
handle
in class MaestroWorkerManager
public void handle(TestFailedNotification note)
handle
in interface MaestroEventListener
handle
in class MaestroWorkerManager
public void handle(TestSuccessfulNotification note)
handle
in interface MaestroEventListener
handle
in class MaestroWorkerManager
public void handle(LogRequest note)
handle
in interface MaestroEventListener
handle
in class MaestroWorkerManager
public void handle(DrainRequest note)
handle
in interface MaestroReceiverEventListener
This documentation was released into the public domain.