dm_request_add Function

public function dm_request_add(request, response) result(rc)

Validates and appends response to the given request.

The function returns the following error codes:

  • E_BOUNDS if the responses array is full.
  • E_INVALID if the response is invalid.

The request attribute nresponses must be between 0 and one less than REQUEST_MAX_NRESPONSES for the response to be added.

Arguments

Type IntentOptional Attributes Name
type(request_type), intent(inout) :: request

Request type.

type(response_type), intent(inout) :: response

Response to add.

Return Value integer


Calls

proc~~dm_request_add~~CallsGraph proc~dm_request_add dm_request_add proc~dm_response_is_valid dm_response_is_valid proc~dm_request_add->proc~dm_response_is_valid proc~dm_error_is_valid dm_error_is_valid proc~dm_response_is_valid->proc~dm_error_is_valid proc~dm_id_is_valid dm_id_is_valid proc~dm_response_is_valid->proc~dm_id_is_valid proc~dm_response_type_is_valid dm_response_type_is_valid proc~dm_response_is_valid->proc~dm_response_type_is_valid

Called by

proc~~dm_request_add~~CalledByGraph proc~dm_request_add dm_request_add proc~dm_test_dummy_request dm_test_dummy_request proc~dm_test_dummy_request->proc~dm_request_add interface~dm_test_dummy dm_test_dummy interface~dm_test_dummy->proc~dm_test_dummy_request proc~dm_test_dummy_observ dm_test_dummy_observ interface~dm_test_dummy->proc~dm_test_dummy_observ proc~dm_test_dummy_observ->proc~dm_test_dummy_request