示例#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;
 }