Animatroller.Framework.Expander.AcnStream.AcnStream C# (CSharp) Method

AcnStream() public method

public AcnStream ( IPAddress bindIpAddress, int priority ) : System
bindIpAddress System.Net.IPAddress
priority int
return System
        public AcnStream(IPAddress bindIpAddress, int priority)
        {
            if (bindIpAddress == null)
                bindIpAddress = GetFirstBindAddress();

            this.socket = new StreamingAcnSocket(animatrollerAcnId, "Animatroller");
            this.socket.NewPacket += socket_NewPacket;
            this.socket.Open(bindIpAddress);
            log.Info("ACN binding to {0}", bindIpAddress);

            this.dmxStreamer = new DmxStreamer(this.socket);
            this.dmxStreamer.Priority = priority;
            this.sendingUniverses = new Dictionary<int, AcnUniverse>();

            Executor.Current.Register(this);
        }

Same methods

AcnStream::AcnStream ( int priority = 100 ) : System