com.java4less.sms.ucp
Class MultipleBasicSubmitMessage

java.lang.Object
  |
  +--com.java4less.sms.ucp.UcpMessage
        |
        +--com.java4less.sms.ucp.MultipleBasicSubmitMessage

public class MultipleBasicSubmitMessage
extends UcpMessage

This message is used to address a number of recipients in one operation.


Field Summary
 java.lang.String alphaMessage
          Alphanumeric Message to send
 java.lang.String messageType
          message type (this will be set automatically 2-numeric, 3-alphanumeric)
 java.lang.String numericMessage
          numeric message to send
 java.lang.String originator
          Address code originator.
 java.lang.String password
          password.
 java.lang.String[] recipients
          array of recipients.
 
Fields inherited from class com.java4less.sms.ucp.UcpMessage
ETX_CHAR, headerO_R, headerOT, headerTRN, OP_BASIC_DEFERRED_SUBMIT, OP_BASIC_SUBMIT, OP_MULTIPLE_BASIC_SUBMIT, OP_SERIE50_DELETE, OP_SERIE50_DELIVER, OP_SERIE50_DELIVER_NOTIFICATION, OP_SERIE50_INQUIRY, OP_SERIE50_MODIFY, OP_SERIE50_RESPONSE_DELETE, OP_SERIE50_RESPONSE_INQUIRY, OP_SERIE50_SUBMIT, OP_SERIES60_OPEN, OP_SERIES60_PROVISIONING, OP_SUBMIT, STX_CHAR
 
Constructor Summary
MultipleBasicSubmitMessage()
           
MultipleBasicSubmitMessage(byte[] b)
          create message from a byte array
 
Method Summary
 byte[] toBytes()
          get byte representationj of the message
 
Methods inherited from class com.java4less.sms.ucp.UcpMessage
getDataFieldsCount, parse
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

recipients

public java.lang.String[] recipients
array of recipients. Mandatory.


originator

public java.lang.String originator
Address code originator. Optional.


password

public java.lang.String password
password. Optional.


messageType

public java.lang.String messageType
message type (this will be set automatically 2-numeric, 3-alphanumeric)


numericMessage

public java.lang.String numericMessage
numeric message to send


alphaMessage

public java.lang.String alphaMessage
Alphanumeric Message to send

Constructor Detail

MultipleBasicSubmitMessage

public MultipleBasicSubmitMessage()

MultipleBasicSubmitMessage

public MultipleBasicSubmitMessage(byte[] b)
                           throws java.lang.Exception
create message from a byte array

Method Detail

toBytes

public byte[] toBytes()
               throws SmsException
get byte representationj of the message

Overrides:
toBytes in class UcpMessage
SmsException