Package org.apache.camel.component.smpp
Class AbstractSmppCommand
java.lang.Object
org.apache.camel.component.smpp.AbstractSmppCommand
- All Implemented Interfaces:
SmppCommand
- Direct Known Subclasses:
SmppCancelSmCommand
,SmppDataSmCommand
,SmppQuerySmCommand
,SmppSmCommand
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected SmppConfiguration
protected final org.slf4j.Logger
protected org.jsmpp.session.SMPPSession
-
Constructor Summary
ConstructorsConstructorDescriptionAbstractSmppCommand
(org.jsmpp.session.SMPPSession session, SmppConfiguration config) -
Method Summary
Modifier and TypeMethodDescriptionprotected List<org.jsmpp.bean.OptionalParameter>
createOptionalParametersByCode
(Map<Short, Object> optinalParamaters) protected List<org.jsmpp.bean.OptionalParameter>
createOptionalParametersByName
(Map<String, String> optinalParamaters) Deprecated.will be removed in Camel 2.13.0/3.0.0 - use createOptionalParametersByCode insteadprotected Class<? extends org.jsmpp.bean.OptionalParameter>
determineTypeClass
(org.jsmpp.bean.OptionalParameter.Tag tag) 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 Details
-
log
protected final org.slf4j.Logger log -
session
protected org.jsmpp.session.SMPPSession session -
config
-
-
Constructor Details
-
AbstractSmppCommand
-
-
Method Details
-
createOptionalParametersByCode
-
createOptionalParametersByName
@Deprecated protected List<org.jsmpp.bean.OptionalParameter> createOptionalParametersByName(Map<String, String> optinalParamaters) Deprecated.will be removed in Camel 2.13.0/3.0.0 - use createOptionalParametersByCode instead- Parameters:
optinalParamaters
-- Returns:
-
determineTypeClass
protected Class<? extends org.jsmpp.bean.OptionalParameter> determineTypeClass(org.jsmpp.bean.OptionalParameter.Tag tag) throws SecurityException, NoSuchFieldException, IllegalArgumentException, IllegalAccessException
-