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