def perform_get(path)
      # Open a DICOM link:
      establish_association
      if association_established?
        if request_approved?
          # Continue with our operation, since the request was accepted.
          @link.build_command_fragment(PDU_DATA, presentation_context_id, COMMAND_LAST_FRAGMENT, @command_elements)
          @link.transmit
          @link.build_data_fragment(@data_elements, presentation_context_id)
          @link.transmit
          # Listen for incoming file data:
          success = @link.handle_incoming_data(path)
          if success
            # Send confirmation response:
            @link.handle_response
          end
        end
        # Close the DICOM link:
        establish_release
      end
    end
def perform_get(path)
      # Open a DICOM link:
      establish_association
      if association_established?
        if request_approved?
          # Continue with our operation, since the request was accepted.
          @link.build_command_fragment(PDU_DATA, presentation_context_id, COMMAND_LAST_FRAGMENT, @command_elements)
          @link.transmit
          @link.build_data_fragment(@data_elements, presentation_context_id)
          @link.transmit
          # Listen for incoming file data:
          success = @link.handle_incoming_data(path)
          if success
            # Send confirmation response:
            @link.handle_response
          end
        end
        # Close the DICOM link:
        establish_release
      end
    end
Handles the communication involved in a DICOM C-GET.
 Builds and sends command & data fragment, then receives the incoming file data.

--
 FIXME: This method has never actually been tested, since it is difficult to find a host that accepts a c-get-rq.