Class: MessageState

MessageState()

encapsulate state machine transitions