public class BindCommandTask extends AbstractSendCommandTask
pduSender
Constructor and Description |
---|
BindCommandTask(PDUSender pduSender,
BindType bindType,
String systemId,
String password,
String systemType,
InterfaceVersion interfaceVersion,
TypeOfNumber addrTon,
NumberingPlanIndicator addrNpi,
String addressRange) |
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.
|
public BindCommandTask(PDUSender pduSender, BindType bindType, String systemId, String password, String systemType, InterfaceVersion interfaceVersion, TypeOfNumber addrTon, NumberingPlanIndicator addrNpi, String addressRange)
public void executeTask(OutputStream out, int sequenceNumber) throws PDUStringException, IOException
SendCommandTask
out
- is the output stream.sequenceNumber
- is the sequence number.IOException
- if there is an IO error found.PDUStringException
public String getCommandName()
SendCommandTask