예제 #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;
        }