IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

com.ibm.btt.channel.sms.config
Class InboundHandlerConfiguration

java.lang.Object
  extended by com.ibm.btt.channel.sms.config.InboundHandlerConfiguration

public class InboundHandlerConfiguration
extends java.lang.Object

Configuration for inbounds handler. Data bean can be initialized by configuration file of element factory.


Field Summary
(package private)  java.lang.String encoding
           
(package private)  int maxThreadPoolSize
           
(package private)  int minThreadPoolSize
           
(package private)  ParameterNames parameterNames
           
(package private)  java.lang.String presentationHandler
           
(package private)  PresentationHandler presentationHandlerInstance
           
(package private)  OutboundMessageHandler replyMsgOutboundHandler
           
(package private)  java.util.Map selfDefineParameters
           
(package private)  java.util.List<CommandMetaData> smsCommands
           
(package private)  int threadPoolQueueSize
           
(package private)  boolean xmlHttp
           
 
Constructor Summary
InboundHandlerConfiguration()
           
 
Method Summary
 java.lang.String getEncoding()
          Char set encoding to decode the inbound data.
 int getMaxThreadPoolSize()
           
 int getMinThreadPoolSize()
           
 ParameterNames getParameterNames()
          Parameter name definition to parse the HTTP URL parameters (w3-form-url) or XML tags (xmlHttp type).
 java.lang.String getPresentationHandler()
          Full name of presentation handler.
 PresentationHandler getPresentationHandlerInstance()
          get Presentation Handler Instance
 OutboundMessageHandler getReplyMsgOutboundHandler()
          Outbound handler for reply message
 java.util.Map getSelfDefineParameters()
          Besides the standard parameter like : from/to number, message etc, Some SMS gateway supports specific parameter, these special parameter is defined in a map.
 java.util.List<CommandMetaData> getSmsCommands()
          List of SMS Command Meta data used to parse/validate SMS commands, map data to operation context and call operation.
 int getThreadPoolQueueSize()
           
 boolean getXmlHttp()
          Content type of HTTP request from SMS gateway (default : false)
 void setEncoding(java.lang.String encoding)
          Char set encoding to decode the inbound data.
 void setMaxThreadPoolSize(int maxThreadPoolSize)
           
 void setMinThreadPoolSize(int minThreadPoolSize)
           
 void setParameterNames(ParameterNames parameterNames)
          Parameter name definition to parse the HTTP URL parameters (w3-form-url) or XML tags (xmlHttp type).
 void setPresentationHandler(java.lang.String presentationHandler)
          Full name of presentation handler.
 void setPresentationHandlerInstance(PresentationHandler presentationHandlerInstance)
          set Presentation Handler Instance
 void setReplyMsgOutboundHandler(OutboundMessageHandler replyMsgOutboundHandler)
          Outbound handler for reply message
 void setSelfDefineParameters(java.util.Map selfDefParam)
          Besides the standard parameter like : from/to number, message etc, Some SMS gateway supports specific parameter, these special parameter is defined in a map.
 void setSmsCommands(java.util.List<CommandMetaData> smsCommands)
          List of SMS Command Meta data used to parse/validate SMS commands, map data to operation context and call operation.
 void setThreadPoolQueueSize(int threadPoolQueueSize)
           
 void setXmlHttp(boolean xmlHttp)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

smsCommands

java.util.List<CommandMetaData> smsCommands

replyMsgOutboundHandler

OutboundMessageHandler replyMsgOutboundHandler

xmlHttp

boolean xmlHttp

selfDefineParameters

java.util.Map selfDefineParameters

encoding

java.lang.String encoding

presentationHandler

java.lang.String presentationHandler

presentationHandlerInstance

PresentationHandler presentationHandlerInstance

parameterNames

ParameterNames parameterNames

maxThreadPoolSize

int maxThreadPoolSize

minThreadPoolSize

int minThreadPoolSize

threadPoolQueueSize

int threadPoolQueueSize
Constructor Detail

InboundHandlerConfiguration

public InboundHandlerConfiguration()
Method Detail

getMinThreadPoolSize

public int getMinThreadPoolSize()

setMinThreadPoolSize

public void setMinThreadPoolSize(int minThreadPoolSize)

getThreadPoolQueueSize

public int getThreadPoolQueueSize()

setThreadPoolQueueSize

public void setThreadPoolQueueSize(int threadPoolQueueSize)

getMaxThreadPoolSize

public int getMaxThreadPoolSize()

setMaxThreadPoolSize

public void setMaxThreadPoolSize(int maxThreadPoolSize)

getSmsCommands

public java.util.List<CommandMetaData> getSmsCommands()
List of SMS Command Meta data used to parse/validate SMS commands, map data to operation context and call operation.

Returns:

setSmsCommands

public void setSmsCommands(java.util.List<CommandMetaData> smsCommands)
List of SMS Command Meta data used to parse/validate SMS commands, map data to operation context and call operation.

Parameters:
smsCommands -

getReplyMsgOutboundHandler

public OutboundMessageHandler getReplyMsgOutboundHandler()
Outbound handler for reply message

Returns:

setReplyMsgOutboundHandler

public void setReplyMsgOutboundHandler(OutboundMessageHandler replyMsgOutboundHandler)
Outbound handler for reply message

Parameters:
replyMsgOutboundHandler -

getXmlHttp

public boolean getXmlHttp()
Content type of HTTP request from SMS gateway (default : false)

Returns:
true if content type is xml/text

setXmlHttp

public void setXmlHttp(boolean xmlHttp)
Parameters:
xmlHttp -
See Also:
getXmlHttp()

getSelfDefineParameters

public java.util.Map getSelfDefineParameters()
Besides the standard parameter like : from/to number, message etc, Some SMS gateway supports specific parameter, these special parameter is defined in a map.

Returns:

setSelfDefineParameters

public void setSelfDefineParameters(java.util.Map selfDefParam)
Besides the standard parameter like : from/to number, message etc, Some SMS gateway supports specific parameter, these special parameter is defined in a map.

Parameters:
selfDefParam -

getEncoding

public java.lang.String getEncoding()
Char set encoding to decode the inbound data.

Returns:

setEncoding

public void setEncoding(java.lang.String encoding)
Char set encoding to decode the inbound data.

Parameters:
encoding -

getPresentationHandler

public java.lang.String getPresentationHandler()
Full name of presentation handler. (default value: presentation handler set in btt.xml)

Returns:

setPresentationHandler

public void setPresentationHandler(java.lang.String presentationHandler)
Full name of presentation handler. (default value: presentation handler set in btt.xml)

Parameters:
presentationHandler -

getPresentationHandlerInstance

public PresentationHandler getPresentationHandlerInstance()
get Presentation Handler Instance

Returns:

setPresentationHandlerInstance

public void setPresentationHandlerInstance(PresentationHandler presentationHandlerInstance)
set Presentation Handler Instance

Parameters:
presentationHandlerInstance -

getParameterNames

public ParameterNames getParameterNames()
Parameter name definition to parse the HTTP URL parameters (w3-form-url) or XML tags (xmlHttp type).

Returns:

setParameterNames

public void setParameterNames(ParameterNames parameterNames)
Parameter name definition to parse the HTTP URL parameters (w3-form-url) or XML tags (xmlHttp type).

Parameters:
parameterNames -

IBM WebSphere Multichannel Bank Transformation Toolkit Javadoc

(c) Copyright IBM Corporation 1998, 2011