public void SyncAllPeers(string[] peers) { Message message = new Message.Builder() .Body(ACTION, ACTION_UPDATE) .Body("peers", peers) .Build(MasterKey); Server.SendAll(message.ToBytes()); }
public void SendAll(IMessage message) { m_server.SendAll(ProtocolBuffConvert.Serialize(message)); }