@Qualifier(value="ael") public class AgentEventListener extends Object implements org.apache.uima.ducc.transport.event.delegate.DuccEventDelegateListener
| Constructor and Description |
|---|
AgentEventListener(NodeAgent agent) |
AgentEventListener(NodeAgent agent,
ProcessLifecycleController lifecycleController) |
| Modifier and Type | Method and Description |
|---|---|
void |
onDuccJobsStateEvent(org.apache.uima.ducc.transport.event.DuccJobsStateEvent duccEvent)
This method is called by Camel when PM sends DUCC state to agent's queue.
|
void |
onProcessPurgeEvent(org.apache.uima.ducc.transport.event.ProcessPurgeDuccEvent duccEvent) |
void |
onProcessStartEvent(org.apache.uima.ducc.transport.event.ProcessStartDuccEvent duccEvent) |
void |
onProcessStateUpdate(org.apache.uima.ducc.transport.event.ProcessStateUpdateDuccEvent duccEvent) |
void |
onProcessStopEvent(org.apache.uima.ducc.transport.event.ProcessStopDuccEvent duccEvent) |
void |
setDuccEventDispatcher(org.apache.uima.ducc.transport.dispatcher.DuccEventDispatcher eventDispatcher) |
public AgentEventListener(NodeAgent agent, ProcessLifecycleController lifecycleController)
public AgentEventListener(NodeAgent agent)
public void setDuccEventDispatcher(org.apache.uima.ducc.transport.dispatcher.DuccEventDispatcher eventDispatcher)
setDuccEventDispatcher in interface org.apache.uima.ducc.transport.event.delegate.DuccEventDelegateListenerpublic void onDuccJobsStateEvent(@Body
org.apache.uima.ducc.transport.event.DuccJobsStateEvent duccEvent)
throws Exception
duccEvent - - contains list of current DUCC jobs.Exceptionpublic void onProcessStartEvent(@Body
org.apache.uima.ducc.transport.event.ProcessStartDuccEvent duccEvent)
throws Exception
Exceptionpublic void onProcessStopEvent(@Body
org.apache.uima.ducc.transport.event.ProcessStopDuccEvent duccEvent)
throws Exception
Exceptionpublic void onProcessStateUpdate(@Body
org.apache.uima.ducc.transport.event.ProcessStateUpdateDuccEvent duccEvent)
throws Exception
ExceptionCopyright © 2012–2015 The Apache Software Foundation. All rights reserved.