com.opencloud.slee.resources.mm7
Interface SubmitActivity

All Superinterfaces:
MM7Activity

public interface SubmitActivity
extends MM7Activity

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


Method Summary
 void sendResponse(MM7StatusCode status, java.lang.String messageID)
          Send a SubmitResponse to the incoming request this activity is responsible for.
 
Methods inherited from interface com.opencloud.slee.resources.mm7.MM7Activity
getProvider, getTransactionID, sendErrorResponse
 

Method Detail

sendResponse

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

Parameters:
status - 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.