MessageStatusSender¶
-
public class
MessageStatusSender
extends SOAPSender¶ The
MessageStatusSender
is the SOAP Message client that query the message status record through theMessage status engine (MS-E). From the description in (MS-E), a series of parameters have been defined and required to send to the MS-E.- partnershipId
- channelType (OUTGOING | INCOMING)
- channelId
- folderName
- fileName
- fromTimestamp (in UTC format)
- toTimestamp (in UTC format)
- numOfRecords
- conversationId
- messageId
- messageType
- messageStatus
- protocol
- locale (EN)
- levelOfDetails (0 | 1)
- offset
Creation Date: 12/03/2007
Author: Twinsen Tsang
Constructors¶
MessageStatusSender¶
-
public
MessageStatusSender
(FileLogger l, MessageStatusRequestData m)¶ Explicit Constructor.
Parameters: - l – The logger used for log message and exception.
- m – The message status properties including the querying parameter.
Methods¶
getMessageStatusList¶
-
public ArrayList
getMessageStatusList
()¶ [@GET] Get the list of message status record. It should be called only after the invocation of
onResponse()
.Returns: a list of message status record using the filter from the last web services call query.
initializeMessage¶
-
public void
initializeMessage
()¶ Initialize the message using the properties in the
MessageStatusRequestData
.Throws: - ClassCastException – the properties set is not a message status request data.