private void HandleFileStateRequest(C2CMessageReader mr)
 {
     //if (ClientCommunicationCenter.commCenter.ConnectedWith(mr.ClientEP()))
     FileTransferCenter.ftc.nfsm.FileStateRequested(
         mr.ClientEP(),
         mr.ReadFileId());
 }
 private void HandleChunkPartResendRequest(C2CMessageReader mr)
 {
     //if (ClientCommunicationCenter.commCenter.ConnectedWith(mr.ClientEP()))
     FileTransferCenter.ftc.ndm.ResendChunkPartRequested(
         mr.ClientEP(),
         mr.ReadFileId(),
         mr.ReadChunkId(),
         mr.ReadChunkPartId());
 }
 private void HandleChunkChunkData(C2CMessageReader mr)
 {
     //if (ClientCommunicationCenter.commCenter.ConnectedWith(mr.ClientEP()))
     FileTransferCenter.ftc.ndm.ChunksPartArrived(
         mr.ClientEP(),
         mr.ReadFileId(),
         mr.ReadChunkId(),
         mr.ReadChunkPartId(),
         mr.ReadChunkPartData());
 }
 private void HandleHolePunchSuceeded(C2CMessageReader mr, EndPoint endPoint)
 {
     UdpHpClient.uhc.OnHolePunchSuceeded(mr.ClientEP(), endPoint);
 }
 private void HandleGotHolePunch(C2CMessageReader mr, EndPoint endPoint)
 {
     UdpHpClient.uhc.OnGotHolePunch(mr.ClientEP(), endPoint);
 }