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

            _streamProperties = new StreamProperties
            {
                Account = Account
            };

            Stream.Open(_streamProperties);
        }
コード例 #2
0
ファイル: Session.cs プロジェクト: eigenvector11/TestClient
        public void Start()
        {
            Logger.Log("Sending stream open");

            _streamProperties = new StreamProperties
            {
                Account = Account
            };

            Stream.Open(_streamProperties);
        }
コード例 #3
0
ファイル: Stream.cs プロジェクト: eigenvector11/TestClient
        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
ファイル: Stream.cs プロジェクト: eigenvector11/TestClient
        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());
        }