|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||
This interface represents a SendMessage activity object.
| Field Summary |
| Fields inherited from interface org.csapi.jr.se.Activity |
ACTIVE_STATE, IDLE_STATE, INVALID_STATE |
| Method Summary | |
void |
addSendMessageListener(SendMessageListener sendMessageListener)
Adds a SendMessageListener which is interested in events generated by the SendMessage. |
void |
cancelMessageReq()
Invokes the cancelMessageReq() method on the Parlay Gateway. |
MultiMediaMessaging |
getMultiMediaMessaging()
Returns a reference to the MultiMediaMessaging responsible for creation of the SendMessage. |
void |
queryStatusReq()
Invokes the queryStatusReq() method on the Parlay Gateway. |
void |
removeSendMessageListener(SendMessageListener sendMessageListener)
Removes a SendMessageListener which is no longer interested events generated by the SendMessage. |
void |
sendMessageReq(Address sourceAddress,
TerminatingAddressList destinationAddressList,
java.lang.String deliveryType,
MessageTreatment[] messageTreatment,
byte[] message,
MessageHeaderField[] additionalHeaders)
Invokes the sendMessageReq() method on the Parlay Gateway. |
| Methods inherited from interface org.csapi.jr.se.Activity |
addActivityStateChangeListener, getState, removeActivityStateChangeListener |
| Method Detail |
public MultiMediaMessaging getMultiMediaMessaging()
public void addSendMessageListener(SendMessageListener sendMessageListener)
sendMessageListener - A reference to the SendMessageListener which is to be added as
a listener.public void removeSendMessageListener(SendMessageListener sendMessageListener)
sendMessageListener - A reference to the SendMessageListener which is to be removed as
a listener.
public void sendMessageReq(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
PlatformException
java.lang.IllegalStateException
CommonException
InvalidAddressException
MmmInvalidDeliveryTypeException
MmmMaxMessageSizeExceededException
MmmDeliveryTypeAddressTypeMismatchException
MmmDeliveryTypeMessageTypeMismatchException
MmmInvalidDeliveryTimeException
MmmInvalidValidityTimeException
MmmMaxSubjectSizeExceededException
MmmInvalidHeaderException
public void cancelMessageReq()
throws PlatformException,
java.lang.IllegalStateException,
CommonException,
InvalidNetworkStateException,
MmmCannotCancelException
PlatformException
java.lang.IllegalStateException
CommonException
InvalidNetworkStateException
MmmCannotCancelException
public void queryStatusReq()
throws PlatformException,
java.lang.IllegalStateException,
CommonException,
MmmInformationNotAvailableException
PlatformException
java.lang.IllegalStateException
CommonException
MmmInformationNotAvailableException
|
|||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||||