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