ClearCanvas.Dicom.Network.NetworkBase.SendReleaseResponse C# (CSharp) Method

SendReleaseResponse() protected method

Method to send an association release response.
protected SendReleaseResponse ( ) : void
return void
        protected void SendReleaseResponse()
        {
			if (State != DicomAssociationState.Sta8_AwaitingAReleaseRPLocalUser) {}

            var pdu = new AReleaseRP();

            EnqueuePdu(pdu.Write());
            State = DicomAssociationState.Sta13_AwaitingTransportConnectionClose;

            if (AssociationReleased != null)
                AssociationReleased(_assoc);
        }