Exemple #1
0
 public PDataTFOutputStream(DimseWriter writer)
 {
     this.writer = writer;
 }
Exemple #2
0
 /// <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();
     }
 }