org.csapi.jr.se.mmm
Interface SendMessageWithNotify

All Superinterfaces:
Activity, CsapiInterface, java.io.Serializable

public interface SendMessageWithNotify
extends Activity

This interface represents a SendMessageWithNotify activity object.


Field Summary
 
Fields inherited from interface org.csapi.jr.se.Activity
ACTIVE_STATE, IDLE_STATE, INVALID_STATE
 
Method Summary
 void addSendMessageWithNotifyListener(SendMessageWithNotifyListener sendMessageWithNotifyListener)
          Adds a SendMessageWithNotifyListener which is interested in events generated by the SendMessageWithNotify.
 MultiMediaMessaging getMultiMediaMessaging()
          Returns a reference to the MultiMediaMessaging responsible for creation of the SendMessageWithNotify.
 void removeSendMessageWithNotifyListener(SendMessageWithNotifyListener sendMessageWithNotifyListener)
          Removes a SendMessageWithNotifyListener which is no longer interested events generated by the SendMessageWithNotify.
 void sendMessageWithNotifyReq(Address sourceAddress, TerminatingAddressList destinationAddressList, java.lang.String deliveryType, MessageTreatment[] messageTreatment, byte[] message, MessageHeaderField[] additionalHeaders)
          Invokes the sendMessageWithNotifyReq() method on the Parlay Gateway.
 
Methods inherited from interface org.csapi.jr.se.Activity
addActivityStateChangeListener, getState, removeActivityStateChangeListener
 

Method Detail

getMultiMediaMessaging

public MultiMediaMessaging getMultiMediaMessaging()
Returns a reference to the MultiMediaMessaging responsible for creation of the SendMessageWithNotify.

Returns:
A reference to the MultiMediaMessaging responsible for creation of the SendMessageWithNotify.

addSendMessageWithNotifyListener

public void addSendMessageWithNotifyListener(SendMessageWithNotifyListener sendMessageWithNotifyListener)
Adds a SendMessageWithNotifyListener which is interested in events generated by the SendMessageWithNotify.

Parameters:
sendMessageWithNotifyListener - A reference to the SendMessageWithNotifyListener which is to be added as a listener.

removeSendMessageWithNotifyListener

public void removeSendMessageWithNotifyListener(SendMessageWithNotifyListener sendMessageWithNotifyListener)
Removes a SendMessageWithNotifyListener which is no longer interested events generated by the SendMessageWithNotify.

Parameters:
sendMessageWithNotifyListener - A reference to the SendMessageWithNotifyListener which is to be removed as a listener.

sendMessageWithNotifyReq

public void sendMessageWithNotifyReq(Address sourceAddress,
                                     TerminatingAddressList destinationAddressList,
                                     java.lang.String deliveryType,
                                     MessageTreatment[] messageTreatment,
                                     byte[] message,
                                     MessageHeaderField[] additionalHeaders)
                              throws PlatformException,
                                     java.lang.IllegalStateException,
                                     CommonException,
                                     InvalidAddressException,
                                     MmmInvalidDeliveryTypeException,
                                     MmmMaxMessageSizeExceededException,
                                     MmmDeliveryTypeAddressTypeMismatchException,
                                     MmmDeliveryTypeMessageTypeMismatchException,
                                     MmmInvalidDeliveryTimeException,
                                     MmmInvalidValidityTimeException,
                                     MmmMaxSubjectSizeExceededException,
                                     MmmInvalidHeaderException
Invokes the sendMessageWithNotifyReq() method on the Parlay Gateway.

Throws:
PlatformException
java.lang.IllegalStateException
CommonException
InvalidAddressException
MmmInvalidDeliveryTypeException
MmmMaxMessageSizeExceededException
MmmDeliveryTypeAddressTypeMismatchException
MmmDeliveryTypeMessageTypeMismatchException
MmmInvalidDeliveryTimeException
MmmInvalidValidityTimeException
MmmMaxSubjectSizeExceededException
MmmInvalidHeaderException