Call events for state machine from client.