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

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


  public static void main(String[] args) {
    try {
      DuccEventHttpDispatcher dispatcher =
              new DuccEventHttpDispatcher("http://"+args[0]+":19988/or",1000*4);
      SubmitJobDuccEvent duccEvent = new SubmitJobDuccEvent(null);
      DuccEvent event = dispatcher.dispatchAndWaitForDuccReply(duccEvent);
      if ( event instanceof SubmitJobReplyDuccEvent ) {
        System.out.println("Client received SubmitJobReplyDuccEvent");
      }
    } catch( Exception e) {
      e.printStackTrace();
View Full Code Here

TOP

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

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.