rabbitmq-c  0.5.0
C AMQP Client library for RabbitMQ
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Data Fields
amqp_rpc_reply_t Struct Reference

Reply from a RPC method on the broker. More...

Data Fields

amqp_response_type_enum reply_type
 the reply type: More...
 
amqp_method_t reply
 in case of AMQP_RESPONSE_SERVER_EXCEPTION this field will be set to the method returned from the broker
 
int library_error
 in case of AMQP_RESPONSE_LIBRARY_EXCEPTION this field will be set to an error code. More...
 

Detailed Description

Reply from a RPC method on the broker.

Since
v0.1

Field Documentation

int amqp_rpc_reply_t::library_error

in case of AMQP_RESPONSE_LIBRARY_EXCEPTION this field will be set to an error code.

An error string can be retrieved using amqp_error_string

amqp_response_type_enum amqp_rpc_reply_t::reply_type

the reply type:

  • AMQP_RESPONSE_NORMAL - the RPC completed successfully
  • AMQP_RESPONSE_SERVER_EXCEPTION - the broker returned an exception, check the reply field
  • AMQP_RESPONSE_LIBRARY_EXCEPTION - the library encountered an error, check the library_error field

The documentation for this struct was generated from the following file: