private void DistributeReplicationMessage(Message m) { if (m_replicationList.Count == 0) return; lock (this) { foreach (string replicationServer in m_replicationList) { Message replMsg = (Message) m.Clone (); replMsg.SetMessageType ("replicate"); replMsg.SetSourceUserName (m_server.UserName); replMsg.SetDestinationUsers (replicationServer); m_server.m_sendReceiveMiddleLayer.Send (replMsg); } Block (); } }