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

SendRawPDU() private method

private SendRawPDU ( ClearCanvas.Dicom.Network.RawPDU pdu ) : void
pdu ClearCanvas.Dicom.Network.RawPDU
return void
	    private void SendRawPDU(RawPDU pdu)
        {
			//ResetDimseTimeout();

            // If the try/catch is reintroduced here, it must
            // throw an exception, if the exception is just eaten, 
            // you can get into a case where there's repetetive errors
            // trying to send PDUs, until a whole message is sent.

            //try
            //{
            if (_network != null)
            pdu.WritePDU(_network);
            //}
            //catch (Exception e)
            //{
            //    OnNetworkError(e);
            //    throw new DicomException("Unexpected exception when writing PDU",e);
            //}

            ResetDimseTimeout();
        }