Exemplo n.º 1
0
 public void SendImNotMasterMessage(Message msg)
 {
     DebugInfo ("Asking {0} to resend to {1}", msg.GetSourceUserName (), CurrentMaster);
     Message m = new Message ();
     m.SetMessageType ("resend");
     m.SetDestinationUsers (msg.GetSourceUserName ());
     m.MessageForResending = msg;
     m.SetSourceUserName (m_server.UserName);
     m.PushString (m_server.m_userTableService.Lookup (CurrentMaster));
     m_server.m_sendReceiveMiddleLayer.Send (m,msg.GetSourceUri (), msg.GetSourceUserName ());
 }