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