Get a new instance of an SMPP packet. The packet will be initialised so that it uses the same SMPP version as this connection and it's sequence number will be initialised to using this connection's sequence numbering scheme.
@param commandId the SMPP command ID of the packet to retrieve.
@return a subclass of {@link ie.omk.smpp.message.SMPPPacket}corresponding to SMPP command commandId.
@throws ie.omk.smpp.BadCommandIDException if the command ID is not recognised.
@throws ie.omk.smpp.NotSupportedException if the Connection is currently using an SMPP version which does not support SMPP command commandId.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.