private bool Open(String name, Stream stream) { DataResponse response = DataResponse.Create(stream); while (response != null) { if (!ApplyResponse(response)) { return(false); } response = DataResponse.Create(stream); } frames.UpdateName(name); frames.Flush(); ScrollToEnd(); return(true); }