|
||||||||||
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.ResponseMessage
this message is used by the server to acknowledge or reject an operation
Field Summary | |
java.lang.String |
errorCode
error code, if Response = N 01 Checksum error 02 Syntax error 03 Operation not supported by system 04 Operation not allowed (at this point in time) 05 Call barring active 06 AdC invalid 07 Authentication failure 08 Legitimisation code for all calls, failure 09 GA not valid 10 Repetition not allowed 11 Legitimisation code for repetition, failure 12 Priority call not allowed 13 Legitimisation code for priority call, failure 14 Urgent message not allowed 15 Legitimisation code for urgent message, failure 16 Reverse charging not allowed 17 Legitimisation code for reverse charging, failure 18 Deferred delivery not allowed 21 Standard text not valid 22 Time period not valid 23 Message type not supported by system 24 Message too long 26 Message type not valid for the pager type |
java.lang.String |
errorDescription
error description, if Response = N |
java.lang.String |
Response
result "A"- Acknowledeged or "N"-negative |
java.lang.String |
systemMessage
system message, if Response = A |
java.lang.String |
validity
validity, if Response = A |
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 | |
ResponseMessage()
|
|
ResponseMessage(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 Response
public java.lang.String errorCode
01 Checksum error 02 Syntax error 03 Operation not supported by system 04 Operation not allowed (at this point in time) 05 Call barring active 06 AdC invalid 07 Authentication failure 08 Legitimisation code for all calls, failure 09 GA not valid 10 Repetition not allowed 11 Legitimisation code for repetition, failure 12 Priority call not allowed 13 Legitimisation code for priority call, failure 14 Urgent message not allowed 15 Legitimisation code for urgent message, failure 16 Reverse charging not allowed 17 Legitimisation code for reverse charging, failure 18 Deferred delivery not allowed 21 Standard text not valid 22 Time period not valid 23 Message type not supported by system 24 Message too long 26 Message type not valid for the pager type
public java.lang.String errorDescription
public java.lang.String systemMessage
public java.lang.String validity
Constructor Detail |
public ResponseMessage()
public ResponseMessage(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 |