Package org.apache.camel.component.smpp
Class SmppSmCommand
- java.lang.Object
-
- org.apache.camel.component.smpp.AbstractSmppCommand
-
- org.apache.camel.component.smpp.SmppSmCommand
-
- All Implemented Interfaces:
SmppCommand
- Direct Known Subclasses:
SmppReplaceSmCommand
,SmppSubmitMultiCommand
,SmppSubmitSmCommand
public abstract class SmppSmCommand extends AbstractSmppCommand
-
-
Field Summary
Fields Modifier and Type Field Description protected Charset
ascii
protected Charset
defaultCharset
protected Charset
latin1
static int
SMPP_NEG_RESPONSE_MSG_TOO_LONG
-
Fields inherited from class org.apache.camel.component.smpp.AbstractSmppCommand
config, log, session
-
-
Constructor Summary
Constructors Constructor Description SmppSmCommand(org.jsmpp.session.SMPPSession session, SmppConfiguration config)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected SmppSplitter
createSplitter(org.apache.camel.Message message)
protected byte
getRegisterDeliveryFlag(org.apache.camel.Message message)
protected boolean
getRequestsSingleDLR(org.apache.camel.Message message)
protected byte[]
getShortMessage(org.apache.camel.Message message)
protected byte[][]
splitBody(org.apache.camel.Message message)
-
Methods inherited from class org.apache.camel.component.smpp.AbstractSmppCommand
createOptionalParametersByCode, createOptionalParametersByName, determineTypeClass
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.apache.camel.component.smpp.SmppCommand
execute
-
-
-
-
Field Detail
-
SMPP_NEG_RESPONSE_MSG_TOO_LONG
public static final int SMPP_NEG_RESPONSE_MSG_TOO_LONG
- See Also:
- Constant Field Values
-
ascii
protected Charset ascii
-
latin1
protected Charset latin1
-
defaultCharset
protected Charset defaultCharset
-
-
Constructor Detail
-
SmppSmCommand
public SmppSmCommand(org.jsmpp.session.SMPPSession session, SmppConfiguration config)
-
-
Method Detail
-
splitBody
protected byte[][] splitBody(org.apache.camel.Message message) throws SmppException
- Throws:
SmppException
-
createSplitter
protected SmppSplitter createSplitter(org.apache.camel.Message message) throws SmppException
- Throws:
SmppException
-
getShortMessage
protected final byte[] getShortMessage(org.apache.camel.Message message)
-
getRegisterDeliveryFlag
protected byte getRegisterDeliveryFlag(org.apache.camel.Message message)
-
getRequestsSingleDLR
protected boolean getRequestsSingleDLR(org.apache.camel.Message message)
-
-