com.opencloud.slee.resources.mm7
Interface CancelActivity

All Superinterfaces:
MM7Activity

public interface CancelActivity
extends MM7Activity

Activity representing a MM7 transaction that involves a Cancel Request/Response pair.


Method Summary
 void sendCancelResponse(MM7StatusCode result)
          Send a CancelResponse to the incoming request this activity is responsible for.
 
Methods inherited from interface com.opencloud.slee.resources.mm7.MM7Activity
getProvider, getTransactionID, sendErrorResponse
 

Method Detail

sendCancelResponse

void sendCancelResponse(MM7StatusCode result)
                        throws ValidationException,
                               java.io.IOException,
                               java.lang.IllegalStateException
Send a CancelResponse to the incoming request this activity is responsible for. To send an error response, use MM7Activity#sendErrorResponse.

Parameters:
result - the MM7StatusCode to include in the response; must be a success status code.
Throws:
ValidationException - if result is null or is not a success status code
java.io.IOException - if the response could not be generated due to an internal error
java.lang.IllegalStateException - if this activity is not handling a request, or a response has already been sent.