This method is called by the processing engine when the state is activated from external source, for example, incoming SMS message.
public SmappState processMessage (SmappStateProcessingContext context) throws MwizProcessingException, DBException, CryptoException
- context the state processing context containing all the necessary object needed while processing the state.
Returnsthe follow-up transition
- MwizProcessingException any exceptions that warrant terminating the application
- DBException any database exceptions that warrant terminating the application
- CryptoException any encryption exceptions that warrant terminating the application
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:
Used by: processing engine