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


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


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


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