Docjar: A Java Source and Docuemnt Enginecom.*    java.*    javax.*    org.*    all    new    plug-in

Quick Search    Search Deep

org.apache.axis.client.async
Class AsyncResult  view AsyncResult download AsyncResult.java

java.lang.Object
  extended byorg.apache.axis.client.async.AsyncResult
All Implemented Interfaces:
IAsyncResult, java.lang.Runnable

public class AsyncResult
extends java.lang.Object
implements IAsyncResult, java.lang.Runnable

Access the results of the Async call


Field Summary
private  AsyncCall ac
          Field ac
private  java.lang.Throwable exception
          Field exception
private  javax.xml.namespace.QName opName
          Field opName
private  java.lang.Object[] params
          Field params
private  java.lang.Object response
          Field response
private  Status status
          Field status
private  java.lang.Thread thread
          Field thread
 
Constructor Summary
AsyncResult(AsyncCall ac, javax.xml.namespace.QName opName, java.lang.Object[] params)
          Constructor AsyncResult
 
Method Summary
 void abort()
          Method abort
 java.lang.Throwable getException()
          Method getException
 java.lang.Object getResponse()
          Method getResponse
 Status getStatus()
          Method getStatus
 void run()
          Method run
 void waitFor(long timeout)
          Method waitFor
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

thread

private java.lang.Thread thread
Field thread


response

private java.lang.Object response
Field response


exception

private java.lang.Throwable exception
Field exception


ac

private AsyncCall ac
Field ac


opName

private javax.xml.namespace.QName opName
Field opName


params

private java.lang.Object[] params
Field params


status

private Status status
Field status

Constructor Detail

AsyncResult

public AsyncResult(AsyncCall ac,
                   javax.xml.namespace.QName opName,
                   java.lang.Object[] params)
Constructor AsyncResult

Method Detail

abort

public void abort()
Method abort

Specified by:
abort in interface IAsyncResult

getStatus

public Status getStatus()
Method getStatus

Specified by:
getStatus in interface IAsyncResult

waitFor

public void waitFor(long timeout)
             throws java.lang.InterruptedException
Method waitFor

Specified by:
waitFor in interface IAsyncResult

getResponse

public java.lang.Object getResponse()
Method getResponse

Specified by:
getResponse in interface IAsyncResult

getException

public java.lang.Throwable getException()
Method getException

Specified by:
getException in interface IAsyncResult

run

public void run()
Method run

Specified by:
run in interface java.lang.Runnable