Example #1
0
 public Shepherd()
 {
     m_discoverySocket = new UdpClient();
     m_discoverySocket.EnableBroadcast = true;
     m_notifyAgentListChanged          = null;
 }
Example #2
0
        private double m_herdAgentListUpdateTime   = 1.0; //update freq. of the herd-agent list (seconds)


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


        public void setNotifyAgentListChangedFunc(NotifyAgentListChanged func)
        {
            m_notifyAgentListChanged = func;
        }
Example #5
0
 public Shepherd()
 {
     m_notifyAgentListChanged = null;
 }
Example #6
0
        private double m_herdAgentListUpdateTime   = 1.0; //update freq. of the herd-agent list (seconds)


        public void SetOnHerdAgentDiscoveryFunc(NotifyAgentListChanged func)
        {
            m_notifyAgentListChanged = func;
        }