public Shepherd() { m_discoverySocket = new UdpClient(); m_discoverySocket.EnableBroadcast = true; m_notifyAgentListChanged = null; }
private double m_herdAgentListUpdateTime = 1.0; //update freq. of the herd-agent list (seconds) public void setNotifyAgentListChangedFunc(NotifyAgentListChanged func) { m_notifyAgentListChanged = func; }
public Shepherd() { m_notifyAgentListChanged = null; }
private double m_herdAgentListUpdateTime = 1.0; //update freq. of the herd-agent list (seconds) public void SetOnHerdAgentDiscoveryFunc(NotifyAgentListChanged func) { m_notifyAgentListChanged = func; }