com.signalsoftcorp.lst.client
Class WMP10SmsRequest

java.lang.Object
  |
  +--com.signalsoftcorp.lst.client.WMP10MessagingRequest
        |
        +--com.signalsoftcorp.lst.client.WMP10SmsRequest

public class WMP10SmsRequest
extends WMP10MessagingRequest

An instance of this class is passed in a call to WMIMessaging.sendSmsMessage.

Represents an SMS message with a message body and a list of recipients.

See Also:
WMIMessaging, WMIMessaging.sendSmsMessage(java.lang.String, java.lang.String, com.signalsoftcorp.lst.client.WMP10SmsRequest)

Constructor Summary
WMP10SmsRequest()
           
WMP10SmsRequest(java.lang.String body, SubscriberId recipient)
          Requesting an SMS to be sent to the list of subscribers.
WMP10SmsRequest(java.lang.String body, SubscriberId[] recipients)
          Send an SMS to the recipients.
WMP10SmsRequest(java.lang.String body, SubscriberId[] recipients, java.lang.String delimiter)
          Send a SMS to the recipients, with a delimiter for splitting.
WMP10SmsRequest(java.lang.String body, SubscriberId recipient, java.lang.String delimiter)
          Send a SMS to the recipient, with a delimiter for splitting.
 
Method Summary
 java.lang.String getDelimiter()
          Returns the delimiter.
 void setDelimiter(java.lang.String delim)
          Specifies the message delimiter.
 java.lang.String toString()
           
 
Methods inherited from class com.signalsoftcorp.lst.client.WMP10MessagingRequest
getBody, getRecipients, setBody, setRecipients
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

WMP10SmsRequest

public WMP10SmsRequest()

WMP10SmsRequest

public WMP10SmsRequest(java.lang.String body,
                       SubscriberId recipient)
Requesting an SMS to be sent to the list of subscribers.
Parameters:
body - The SMS message body. If the length of the body exceeds the maximum length of an SMS message (normally 216 characters, but varies across implementations), the message will be truncated.
recipient - The subscriber id of the recipient.

WMP10SmsRequest

public WMP10SmsRequest(java.lang.String body,
                       SubscriberId[] recipients)
Send an SMS to the recipients.
Parameters:
body - The SMS message body. If the length of the body exceeds the maximum length of an SMS message (normally 216 characters, but varies across implementations), the message will be truncated.
recipients - An array of subscriber ids of the recipients.

WMP10SmsRequest

public WMP10SmsRequest(java.lang.String body,
                       SubscriberId recipient,
                       java.lang.String delimiter)
Send a SMS to the recipient, with a delimiter for splitting.
Parameters:
body - The SMS message body. If the body contains the specified delimiter, the message will be split into several SMSs. If the length of the body without delimiter or a part of a splitted message exceeds the maximum length of an SMS message (normally 216 characters, but varies across implementations), the message will be truncated.
recipient - The subscriber id of the recipient.
delimiter - Specifies the delimiter. The message will be split at the position of the delimiter.

WMP10SmsRequest

public WMP10SmsRequest(java.lang.String body,
                       SubscriberId[] recipients,
                       java.lang.String delimiter)
Send a SMS to the recipients, with a delimiter for splitting.
Parameters:
body - The SMS message body. If the body contains the specified delimiter, the message will be split into several SMSs. If the length of the body without delimiter or a part of a splitted message exceeds the maximum length of an SMS message (normally 216 characters, but varies across implementations), the message will be truncated.
recipients - The subscriber ids of the recipients.
delimiter - Specifies the delimiter. The message will be split at the position of the delimiter.
Method Detail

getDelimiter

public java.lang.String getDelimiter()
Returns the delimiter. If the message body contains this delimiter, the message will be split into several SMS messages.
Returns:
The current delimiter.

setDelimiter

public void setDelimiter(java.lang.String delim)
Specifies the message delimiter. If the message body contains this delimiter, the message will be split into several SMS messages.
Parameters:
delim - Set the delimiter.

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object


Copyright © SignalSoft Corp. All Rights Reserved.