|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.ibm.mds.adpt.sms.base.records.ErrorMessage
public class ErrorMessage
This is the default Java Bean Implementation for the SMPP 3.4 SubmitSM class. This is the main record to be used for submitting a short message to an ESMC.
Field Summary | |
---|---|
static java.lang.String |
INVALID_CMD_ID
|
static java.lang.String |
INVALID_CMD_LENGTH
|
static java.lang.String |
REC_NAME
Comment for REC_NAME |
Constructor Summary | |
---|---|
ErrorMessage()
The default Constructor for the MonitorHeartBeat |
Method Summary | |
---|---|
java.lang.Object |
clone()
|
void |
fromBytes(byte[] buffer)
|
java.lang.String |
getErrorMsg()
|
int |
getFunctionID()
Gets the Function ID |
java.lang.String |
getRecordName()
|
java.lang.String |
getRecordShortDescription()
|
void |
setErrorMsg(java.lang.String errorMsg)
|
void |
setFunctionID(int functionID)
Sets the Function ID |
void |
setRecordName(java.lang.String name)
|
void |
setRecordShortDescription(java.lang.String desc)
|
void |
toBytes(byte[] buffer)
Add the bytes for the PDU to a byte array. |
java.lang.String |
toString()
Override toString method. |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Methods inherited from interface javax.resource.cci.Record |
---|
equals, hashCode |
Field Detail |
---|
public static final java.lang.String REC_NAME
REC_NAME
public static final java.lang.String INVALID_CMD_LENGTH
public static final java.lang.String INVALID_CMD_ID
Constructor Detail |
---|
public ErrorMessage()
Method Detail |
---|
public java.lang.String getRecordName()
getRecordName
in interface javax.resource.cci.Record
public void setRecordName(java.lang.String name)
setRecordName
in interface javax.resource.cci.Record
public void setRecordShortDescription(java.lang.String desc)
setRecordShortDescription
in interface javax.resource.cci.Record
public java.lang.String getRecordShortDescription()
getRecordShortDescription
in interface javax.resource.cci.Record
public java.lang.Object clone()
clone
in interface javax.resource.cci.Record
clone
in class java.lang.Object
public void fromBytes(byte[] buffer) throws java.lang.IllegalArgumentException, java.io.UnsupportedEncodingException
java.lang.IllegalArgumentException
java.io.UnsupportedEncodingException
public void toBytes(byte[] buffer) throws java.io.UnsupportedEncodingException
buffer
- the byte array
java.io.UnsupportedEncodingException
public int getFunctionID()
public void setFunctionID(int functionID)
Function
- ID to be setpublic void setErrorMsg(java.lang.String errorMsg)
errorMsg
- the errorMsg to setpublic java.lang.String getErrorMsg()
public java.lang.String toString()
toString
in class java.lang.Object
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |