public void Start() { Logger.Log("Sending stream open"); _streamProperties = new StreamProperties { Account = Account }; Stream.Open(_streamProperties); }
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()); }