methods property

Map<String, Function> methods
read / write

available method for processing. Each method function should have two params: For a state to process a message of concrete type, it must implement a method with key of Message.getName() value.

Implementation

Map<String, Function> methods = {}