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


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


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


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