com.opencloud.slee.resources.mm7
Interface ExtendedReplaceActivity

All Superinterfaces:
MM7Activity

public interface ExtendedReplaceActivity
extends MM7Activity

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

Since:
MM7 v.6.8.0

Method Summary
 void sendResponse(MM7StatusCode status, java.lang.String messageID)
          Send a ExtendedReplaceResponse 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 ExtendedReplaceResponse 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.
messageID - the message ID of the updated (replacing) message, or null if inapplicable
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.