public string GetServiceName()
{
return _services.GetServicesName();
}
public void NotifyJoinService(Service service, Network network) { dynamic packet = new JObject(); packet.type = "notify_join_service"; packet.service = service.GetServiceName(); packet.id = service._id; packet.address = network.GetAddress(service); packet.port = service._port; this.SendPacket(packet); }