private void OnMessageReceived(object sender, WrMessageReceivedEventArgs args) { var message = args.Message; Console.WriteLine("Received Message >> {0}", message); var handler = MessageTable.Find(message.Id); if (handler == null) { return; } if (!handler.Handle(this, message)) { Disconnect("Message handler returned false."); } }