IBM WebSphere Application ServerTM
Release 8

com.ibm.websphere.sip
Interface AsynchronousWorkListener


public interface AsynchronousWorkListener

This listener will receive notification on a result of the asynchronous work execution.


Method Summary
 void onCompleted(java.io.Serializable result)
          This method will be called when the asynchronous work is completed.
 void onFailed(int reasonCode, java.lang.String reason)
          This method will be called when the response to the asynchronous work request on the receiving container returns an error.
 

Method Detail

onCompleted

void onCompleted(java.io.Serializable result)
This method will be called when the asynchronous work is completed.

Parameters:
result -

onFailed

void onFailed(int reasonCode,
              java.lang.String reason)
This method will be called when the response to the asynchronous work request on the receiving container returns an error.

Parameters:
reasonCode - int
reason - String

IBM WebSphere Application ServerTM
Release 8