processMessage(SmappStateProcessingContext) method

This method is called by the processing engine when the state is activated from external source, for example, incoming SMS message.

Syntax

SmappState processMessage ( SmappStateProcessingContext context ) throws MwizProcessingException, DBException, CryptoException

Parameters

Returns

the follow-up transition

Exceptions

Usage

See this API documentation listed above.

Typically, this method should be implemented when the

supportsSendSmsMessage()

is set to true, to handle the reply SMS message.

Helper methods that will return the

SmappState

are as follow:

  • continueOk()
  • continueFail()
  • continueFail(String)
  • continueDyn(String)
  • continueDyn(Integer)
  • continueDyn(Long)

Used by: processing engine

the follow-up transition