null
for this Connection, no number will be assigned. By default, the {@link ie.omk.smpp.util.DefaultSequenceScheme}class is used to assign sequence numbers to packets. bind
and unbind
methods to carry out those operations. Attempting to send an bind or unbind packet using this method will result in an UnsupportedOperationException
being thrown.
@param request The request packet to send to the SMSC
@return The response packet returned by the SMSC, or null if asynchronouscommunication is being used.
@throws java.lang.NullPointerException if r
is null.
@throws java.net.SocketTimeoutException If a socket timeout occurs while waiting for a response packet. (Only in synchronized mode).
@throws java.io.IOException If an I/O error occurs while writing the request packet to the network connection.
@throws ie.omk.smpp.UnsupportedOperationException If this connection type does not support operation r
. For example, a receiver link does not support the submit_sm operation.
@throws ie.omk.smpp.AlreadyBoundException If the request type is a bind packet and this connection is already bound.
@throws ie.omk.smpp.message.SMPPProtocolException If synchronous communications is in use and the incoming response packet violates the SMPP specification, this exception will be thrown.
@see #setSeqNumScheme
|
|