Exemplo n.º 1
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();
     }
 }
Exemplo n.º 2
0
 internal PDataTFInputStream(DimseReader reader, Stream ins)
 {
     this.reader = reader;
     this.ins = ins;
 }