com.opencloud.slee.resources.mm7
Interface CancelResponseEvent

All Superinterfaces:
ResponseEvent

public interface CancelResponseEvent
extends ResponseEvent

Event delivered when a Cancel Response from the peer Relay Server is received.


Method Summary
 CancelActivity getCancelActivity()
          Convenience method to return the CancelActivity for the underlying transaction.
 CancelResponse getCancelResponse()
          Get the non-error payload of this response.
 
Methods inherited from interface com.opencloud.slee.resources.mm7.ResponseEvent
getActivity, getResponse, getSOAPFault
 

Method Detail

getCancelActivity

CancelActivity getCancelActivity()
Convenience method to return the CancelActivity for the underlying transaction. Equivalent to (CancelActivity)getActivity().

Returns:
the underlying CancelActivity

getCancelResponse

CancelResponse getCancelResponse()
Get the non-error payload of this response. If the response is an error response, this will return null; the actual response can be obtained via ResponseEvent#getResponse().

Returns:
the CancelResponse, or null if the response is an error