예제 #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();
     }
 }
예제 #2
0
 internal State3(Fsm fsm, AssociationState state)
     : base(fsm, state)
 {
 }
예제 #3
0
 internal State1(Fsm fsm, AssociationState type)
     : base(fsm, (int) type)
 {
 }
예제 #4
0
 internal State(Fsm fsm, int type)
 {
     m_fsm = fsm;
     this.type = type;
 }
예제 #5
0
 internal State(Fsm fsm, AssociationState type)
 {
     m_fsm = fsm;
     this.type = (int) type;
 }
예제 #6
0
 /// <summary>
 /// Creates a new instance of PDataTFWriteAdapter 
 /// </summary>
 public DimseWriter(Fsm fsm)
 {
     this.fsm = fsm;
 }