|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jsmpp.bean.Command
public class Command
Class represent SMPP Command. Contains only the header of SMPP PDU.
Field Summary | |
---|---|
protected int |
commandId
|
protected int |
commandLength
|
protected int |
commandStatus
|
protected int |
sequenceNumber
|
Constructor Summary | |
---|---|
Command()
Default constructor. |
Method Summary | |
---|---|
boolean |
equals(java.lang.Object obj)
|
int |
getCommandId()
Get the command_id. |
java.lang.String |
getCommandIdAsHex()
Get the command_id as hex string value. |
int |
getCommandLength()
Get the command_length. |
int |
getCommandStatus()
Get the command_status. |
java.lang.String |
getCommandStatusAsHex()
Get the command_status as hex string. |
int |
getSequenceNumber()
Get the sequence_number. |
int |
hashCode()
|
void |
setCommandId(int commandId)
Set the command_id. |
void |
setCommandLength(int commandLength)
Ser the command_length. |
void |
setCommandStatus(int commandStatus)
Set value of command_status. |
void |
setSequenceNumber(int sequenceNumber)
Set value of sequence_number. |
java.lang.String |
toString()
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
protected int commandLength
protected int commandId
protected int commandStatus
protected int sequenceNumber
Constructor Detail |
---|
public Command()
Method Detail |
---|
public int getCommandId()
public java.lang.String getCommandIdAsHex()
public void setCommandId(int commandId)
commandId
- is the new value of command_id..public int getCommandLength()
public void setCommandLength(int commandLength)
commandLength
- is the new value of command_length.public int getCommandStatus()
public java.lang.String getCommandStatusAsHex()
public void setCommandStatus(int commandStatus)
commandStatus
- is the new value of command_status.public int getSequenceNumber()
public void setSequenceNumber(int sequenceNumber)
sequenceNumber
- is the new value of sequece_number.public java.lang.String toString()
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |