Validate all possible messages and call the corresponding method in each case. Methods implementation pending.