Package org.apache.uima.ducc.transport.event

Examples of org.apache.uima.ducc.transport.event.ProcessStopDuccEvent


            logger.info(methodName,null,"Agent Sending <<STOP>> to Endpoint:"+((ManagedProcess) managedProcess).getSocketEndpoint());
            //  socket transport
            super.
            agent.
              getEventDispatcherForRemoteProcess().
                dispatch( new ProcessStopDuccEvent(new HashMap<DuccId, IDuccProcess>()),
                        ((ManagedProcess) managedProcess).getSocketEndpoint(), msgHeader );
           
          } else {
            //  jms transport
            super.
              agent.
                getEventDispatcherForRemoteProcess().
                  dispatch(new ProcessStopDuccEvent(new HashMap<DuccId, IDuccProcess>()),msgHeader );
          }
        } catch( Exception ex) {
          logger.error(methodName, ((ManagedProcess)super.managedProcess).getDuccId(), ex, new Object[]{});
        } finally {
          logger.info(methodName,((ManagedProcess)super.managedProcess).getDuccId(),"------------ Agent Dispatched STOP Request to Process with PID:"+((ManagedProcess) managedProcess).getDuccProcess().getPID()+" Process State: "+((ManagedProcess) managedProcess).getDuccProcess().getProcessState()+" Waiting for Process to Stop. Timout Value:"+maxTimeToWaitForProcessToStop+" millis");
View Full Code Here

TOP

Related Classes of org.apache.uima.ducc.transport.event.ProcessStopDuccEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.