Ejemplo n.º 1
0
 public KnxNetIpRoutingClient(IPEndPoint remoteEndPoint, KnxDeviceAddress deviceAddress, KnxNetIpConfiguration configuration = null) : base(remoteEndPoint, deviceAddress, configuration)
 {
 }
Ejemplo n.º 2
0
        public KnxNetIpTunnelingClient(IPEndPoint remoteEndPoint, KnxDeviceAddress deviceAddress, KnxNetIpConfiguration configuration = null) : base(remoteEndPoint, deviceAddress, configuration)
        {
            ConnectionStateTimeStamp = DateTime.MinValue;

            _keepAliveTimer = new System.Timers.Timer(59000)
            {
                Enabled = false, AutoReset = true
            };
            _keepAliveTimer.Elapsed += async(sender, args) => await SendKeepAliveMessage();
        }
Ejemplo n.º 3
0
 public KnxNetIpRoutingClient(KnxNetIpConfiguration configuration = null) : this(new IPEndPoint(IPAddress.Parse("224.0.23.12"), 3671), new KnxDeviceAddress(0, 0, 0), configuration)
 {
 }
Ejemplo n.º 4
0
        protected KnxNetIpClient(IPEndPoint remoteEndPoint, KnxDeviceAddress deviceAddress, KnxNetIpConfiguration configuration = null)
        {
            Configuration  = configuration ?? new KnxNetIpConfiguration();
            RemoteEndPoint = remoteEndPoint ?? throw new ArgumentNullException(nameof(remoteEndPoint));
            DeviceAddress  = deviceAddress;

            UdpClient = new UdpClient();
        }