|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.davesag.smpp.command.AbstractCommand
An abstract root for a command to the server.
| Nested Class Summary |
| Nested classes inherited from class com.davesag.smpp.command.Command |
Command.Factory |
| Field Summary | |
protected String |
theCommandString
|
protected ie.omk.smpp.Address |
theIncomingId
|
protected boolean |
thePerformedFlag
|
protected ie.omk.smpp.Address |
theSenderId
|
| Constructor Summary | |
AbstractCommand()
|
|
| Method Summary | |
abstract ErrorResponse |
checkSender()
Check the details of the sender. |
String |
getCommandString()
accessor for the id of the command's sender. |
ie.omk.smpp.Address |
getIncomingId()
accessor for the number the command was sent to. |
ie.omk.smpp.Address |
getSenderId()
accessor for the id of the command's sender. |
abstract boolean |
isPerformed()
Test if this command been performed yet. |
void |
setCommandString(String command)
set command string. |
void |
setIncomingId(ie.omk.smpp.Address incomingId)
set the number the command was sent to. |
void |
setSenderId(ie.omk.smpp.Address senderId)
set the id of the command's sender. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.davesag.smpp.command.Command |
getCommandName, isValid, perform |
| Field Detail |
protected ie.omk.smpp.Address theSenderId
protected ie.omk.smpp.Address theIncomingId
protected String theCommandString
protected boolean thePerformedFlag
| Constructor Detail |
public AbstractCommand()
| Method Detail |
public void setSenderId(ie.omk.smpp.Address senderId)
setSenderId in interface CommandsenderId - The id of the person sending the command.public ie.omk.smpp.Address getSenderId()
getSenderId in interface Commandpublic void setIncomingId(ie.omk.smpp.Address incomingId)
setIncomingId in interface CommandincomingId - The id of the person sending the command.public ie.omk.smpp.Address getIncomingId()
getIncomingId in interface Commandpublic void setCommandString(String command)
setCommandString in interface Commandcommand - The original command string.public String getCommandString()
getCommandString in interface Commandpublic abstract boolean isPerformed()
isPerformed in interface Commandpublic abstract ErrorResponse checkSender()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||