com.ibm.websphere.sip

Interface AsynchronousWorkListener


  1. public interface AsynchronousWorkListener
This listener will receive notification on a result of the asynchronous work execution.

Method Summary

Modifier and Type Method and Description
  1. void
onCompleted(java.io.Serializable result)
This method will be called when the asynchronous work is completed.
  1. 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

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

onFailed

  1. void onFailed(int reasonCode,
  2. 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