use of cbit.rmi.event.WorkerEvent in project vcell by virtualcell.
the class WorkerEventMessage method sendStarting.
/**
* Insert the method's description here.
* Creation date: (12/31/2003 12:53:34 PM)
* @param param javax.jms.Message
*/
public static WorkerEventMessage sendStarting(VCMessageSession session, Object source, SimulationTask simTask, String hostName, SimulationMessage startMessage) throws VCMessagingException {
WorkerEvent workerEvent = new WorkerEvent(WorkerEvent.JOB_STARTING, source, simTask, hostName, startMessage);
WorkerEventMessage workerEventMessage = new WorkerEventMessage(workerEvent);
workerEventMessage.sendWorkerEvent(session);
return workerEventMessage;
}
use of cbit.rmi.event.WorkerEvent in project vcell by virtualcell.
the class WorkerEventMessage method sendWorkerAlive.
/**
* Insert the method's description here.
* Creation date: (12/31/2003 12:53:34 PM)
* @param param javax.jms.Message
*/
public static WorkerEventMessage sendWorkerAlive(VCMessageSession session, Object source, SimulationTask simTask, String hostName, SimulationMessage simulationMessage) throws VCMessagingException {
WorkerEvent workerEvent = new WorkerEvent(WorkerEvent.JOB_WORKER_ALIVE, source, simTask, hostName, simulationMessage);
WorkerEventMessage workerEventMessage = new WorkerEventMessage(workerEvent);
workerEventMessage.sendWorkerEvent(session);
return workerEventMessage;
}
use of cbit.rmi.event.WorkerEvent in project vcell by virtualcell.
the class WorkerEventMessage method sendCompleted.
/**
* Insert the method's description here.
* Creation date: (12/31/2003 12:53:34 PM)
* @param param javax.jms.Message
*/
public static WorkerEventMessage sendCompleted(VCMessageSession session, Object source, SimulationTask simTask, String hostName, double progress, double timePoint, SimulationMessage simulationMessage) throws VCMessagingException {
WorkerEvent workerEvent = new WorkerEvent(WorkerEvent.JOB_COMPLETED, source, simTask, hostName, new Double(progress), new Double(timePoint), simulationMessage);
WorkerEventMessage workerEventMessage = new WorkerEventMessage(workerEvent);
workerEventMessage.sendWorkerEvent(session);
return workerEventMessage;
}
Aggregations