예제 #1
0
        /// <summary>
        /// Create new instance of <see cref="UdpDiscoverySubscriber"/>
        /// </summary>
        /// <param name="udpConnection"></param>
        public UdpDiscoverySubscriber(UdpPubSubConnection udpConnection) : base(udpConnection)
        {
            m_metadataWriterIdsToSend = new List <ushort>();

            m_intervalRunner = new IntervalRunner(udpConnection.PubSubConnectionConfiguration.Name,
                                                  kInitialRequestInterval, CanPublish, SendDiscoveryRequestDataSetMetaData);
        }
예제 #2
0
 /// <summary>
 /// Create new instance of <see cref="UdpDiscoveryPublisher"/>
 /// </summary>
 /// <param name="udpConnection"></param>
 public UdpDiscoveryPublisher(UdpPubSubConnection udpConnection) : base(udpConnection)
 {
     m_metadataWriterIdsToSend = new List <ushort>();
 }
예제 #3
0
        /// <summary>
        /// Create new instance of <see cref="UdpDiscovery"/>
        /// </summary>
        /// <param name="udpConnection"></param>
        protected UdpDiscovery(UdpPubSubConnection udpConnection)
        {
            m_udpConnection = udpConnection;

            Initialize();
        }