示例#1
0
        public void Start()
        {
            Logger.Log("Sending stream open");

            _streamProperties = new StreamProperties
            {
                Account = Account
            };

            Stream.Open(_streamProperties);
        }
示例#2
0
        public void Start()
        {
            Logger.Log("Sending stream open");

            _streamProperties = new StreamProperties
            {
                Account = Account
            };

            Stream.Open(_streamProperties);
        }
示例#3
0
        public void Open(StreamProperties streamProperties)
        {
            Properties = streamProperties;
            var hostname = Properties.Account.Server;
            var port = Properties.Account.Port;
            _socket = new Utilities.Socket(hostname, port);
            _stream = _socket.Connect();

            StartStreamProcessing();

            Send(Properties.StartStream());
        }
示例#4
0
        public void Open(StreamProperties streamProperties)
        {
            Properties = streamProperties;
            var hostname = Properties.Account.Server;
            var port     = Properties.Account.Port;

            _socket = new Utilities.Socket(hostname, port);
            _stream = _socket.Connect();

            StartStreamProcessing();

            Send(Properties.StartStream());
        }