|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--com.java4less.sms.ucp.UcpMessage | +--com.java4less.sms.ucp.BasicSubmitMessage
This is the easiest way of sending a message. The 'Call input operation' is the normal means of submitting a Short Message. The SMSC must, when it receives this command, send the message to the recipient address that is specified in the command.
Field Summary | |
java.lang.String |
alphaMessage
Alphanumeric Message to send |
java.lang.String |
messageType
message type (2 for numeric and 3 for alphanumeric) |
java.lang.String |
numericMessage
numeric message to send |
java.lang.String |
originator
Address code originator. |
java.lang.String |
password
password. |
java.lang.String |
recipient
Address code recipient. |
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 | |
BasicSubmitMessage()
|
|
BasicSubmitMessage(byte[] b)
create message from a byte array |
Method Summary | |
byte[] |
toBytes()
convert message to bytes |
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 |
public java.lang.String recipient
public java.lang.String originator
public java.lang.String password
public java.lang.String messageType
public java.lang.String numericMessage
public java.lang.String alphaMessage
Constructor Detail |
public BasicSubmitMessage()
public BasicSubmitMessage(byte[] b) throws java.lang.Exception
Method Detail |
public byte[] toBytes() throws SmsException
UcpMessage
toBytes
in class UcpMessage
SmsException
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |