public PDataTFOutputStream(DimseWriter writer) { this.writer = writer; }
/// <summary> /// Creates a new instance of Association /// </summary> public Association(System.Net.Sockets.TcpClient s, bool requestor) { this.name = "Assoc-" + ++assocCount; NDC.Push(name); try { this.fsm = new Fsm(this, s, requestor); this.reader = new DimseReader(fsm); this.writer = new DimseWriter(fsm); } finally { NDC.Pop(); } }