private void RegisterMessageHandlers(MessagesReceiveHandler receiveHandler)
 {
     receiveHandler.RegisterHandler <NewConnection>(this);
 }
 private void RegisterMessageHandlers(MessagesReceiveHandler receiveHandler)
 {
     receiveHandler.RegisterHandler <ServerInfo>(this);
     receiveHandler.RegisterHandler <Print>(this);
 }