org.jsmpp.session
Class EnquireLinkCommandTask

java.lang.Object
  extended by org.jsmpp.session.AbstractSendCommandTask
      extended by org.jsmpp.session.EnquireLinkCommandTask
All Implemented Interfaces:
SendCommandTask

public class EnquireLinkCommandTask
extends AbstractSendCommandTask

Author:
uudashr

Field Summary
 
Fields inherited from class org.jsmpp.session.AbstractSendCommandTask
pduSender
 
Constructor Summary
EnquireLinkCommandTask(PDUSender pduSender)
           
 
Method Summary
 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.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EnquireLinkCommandTask

public EnquireLinkCommandTask(PDUSender pduSender)
Method Detail

executeTask

public void executeTask(java.io.OutputStream out,
                        int sequenceNumber)
                 throws java.io.IOException
Description copied from interface: SendCommandTask
Executing the task.

Parameters:
out - is the output stream.
sequenceNumber - is the sequence number.
Throws:
java.io.IOException - if there is an IO error found.

getCommandName

public java.lang.String getCommandName()
Description copied from interface: SendCommandTask
It should be like submit_sm, deliver_sm, query_sm, data_sm, etc.

Returns:
the command name.