Runtime components : Channels components : SMS handler : Request handler
  
Request handler
The function of request handler contains:
Parses the channel context data and validates the SMS command according to the SMS command definition.
Map command data into operation context.
Start the operation to perform the tasks
The request handler checks the channel policy to determine whether the request is permitted or not. If the request is not permitted, the operation will not be called, and a pre-defined message will be notified to user. The default implementation class of SMS request handler is com.ibm.btt.channel.sms.SMSRequestHandler, and it is configured in file btt.xml as following code:
<kColl id="sms">
  <field id="encoding" value="UTF-8"/>
  <field id="requestHandler"
         value="com.ibm.btt.channel.sms.SMSRequestHandler"/>
  <field id="presentationHandler"
         value="com.ibm.btt.channel.sms.SMSPresentationHandler"/>
  <!-- channel policy configuration -->
  <field id="channelPolicyHandler"
         value="com.ibm.btt.test.MyChannelPolicyHandler"/>
  <field id="ruleService" value="javaCodeChannelRuleService"/>
</kColl>
See
SMS commands definition
Operation execution
Channel policy
Go up to
SMS handler