Package org.apache.axis.client.async

Examples of org.apache.axis.client.async.Listener


        if (getAsyncStatus() == ASYNC_RUNNING) {
          // TODO: we need to throw an error
          // We can't have two async operations messing with this
          // single Call object
        }
        Listener listener = (Listener)getProperty(AsyncCall.ASYNC_CALL_LISTENER);
        if (listener == null) {
          listener = new Listener() { // Create default RPC listener
            public void invokeComplete() {
              setAsyncStatus(ASYNC_READY);
            }
            public void onResponse(final MessageContext context)
              throws java.rmi.RemoteException {
View Full Code Here


        invokeEngineAsync(msgContext, listener);
      }
    }

    private void invokeEngineOneWay(final MessageContext msgContext) {
        Listener listener = (Listener)getProperty(AsyncCall.ASYNC_CALL_LISTENER);
        if (listener == null) {
          listener = new Listener() { // Create a non-op listener           
              public void invokeComplete() {
                setAsyncStatus(ASYNC_READY);
              }
              public void onResponse(MessageContext context) {
                // since this is a "one way" operation, we're going
View Full Code Here

TOP

Related Classes of org.apache.axis.client.async.Listener

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.