public interface SendCommandTask
Modifier and Type | Method and Description |
---|---|
void |
executeTask(java.io.OutputStream out,
int sequenceNumber)
Executing the task.
|
java.lang.String |
getCommandName()
It should be like submit_sm, deliver_sm, query_sm, data_sm, etc.
|
void executeTask(java.io.OutputStream out, int sequenceNumber) throws PDUException, java.io.IOException
out
- is the output stream.sequenceNumber
- is the sequence number.PDUException
- if there is an invalid PDU parameter found.java.io.IOException
- if there is an IO error found.java.lang.String getCommandName()