Source

amqpev / amqpev / spec / method_decls_0-9-1.xml

Full commit
<?xml version="1.0"?>
<amqp xmlns:str="http://xsltsl.org/string">
  <packing type="octet" code="B"/>
  <packing type="short" code="H"/>
  <packing type="long" code="L"/>
  <packing type="longlong" code="Q"/>
  <packing type="timestamp" code="Q" pack="pack_ts" unpack="unpack_ts"/>
  <packing type="table" code="L:" pack="pack_table" unpack="unpack_table"/>
  <packing type="longstr" code="L:" pack="pack_str" unpack="unpack_str"/>
  <packing type="shortstr" code="B:" pack="pack_str" unpack="unpack_str"/>
  <packing type="bit" code="."/>
  <class name="connection" id="10">
    <method id="10" name="start">
      <field name="version_major" type="octet"/>
      <field name="version_minor" type="octet"/>
      <field name="server_properties" type="table"/>
      <field name="mechanisms" type="longstr"/>
      <field name="locales" type="longstr"/>
    </method>
    <method id="11" name="start_ok">
      <field name="client_properties" type="table"/>
      <field name="mechanism" type="shortstr"/>
      <field name="response" type="longstr"/>
      <field name="locale" type="shortstr"/>
    </method>
    <method id="20" name="secure">
      <field name="challenge" type="longstr"/>
    </method>
    <method id="21" name="secure_ok">
      <field name="response" type="longstr"/>
    </method>
    <method id="30" name="tune">
      <field name="channel_max" type="short"/>
      <field name="frame_max" type="long"/>
      <field name="heartbeat" type="short"/>
    </method>
    <method id="31" name="tune_ok">
      <field name="channel_max" type="short"/>
      <field name="frame_max" type="long"/>
      <field name="heartbeat" type="short"/>
    </method>
    <method id="40" name="open">
      <field name="virtual_host" type="shortstr"/>
      <field name="reserved_1" type="shortstr"/>
      <field name="reserved_2" type="bit"/>
    </method>
    <method id="41" name="open_ok">
      <field name="reserved_1" type="shortstr"/>
    </method>
    <method id="50" name="close">
      <field name="reply_code" type="short"/>
      <field name="reply_text" type="shortstr"/>
      <field name="class_id" type="short"/>
      <field name="method_id" type="short"/>
    </method>
    <method id="51" name="close_ok"/>
  </class>
  <class name="channel" id="20">
    <method id="10" name="open">
      <field name="reserved_1" type="shortstr"/>
    </method>
    <method id="11" name="open_ok">
      <field name="reserved_1" type="longstr"/>
    </method>
    <method id="20" name="flow">
      <field name="active" type="bit"/>
    </method>
    <method id="21" name="flow_ok">
      <field name="active" type="bit"/>
    </method>
    <method id="40" name="close">
      <field name="reply_code" type="short"/>
      <field name="reply_text" type="shortstr"/>
      <field name="class_id" type="short"/>
      <field name="method_id" type="short"/>
    </method>
    <method id="41" name="close_ok"/>
  </class>
  <class name="exchange" id="40">
    <method id="10" name="declare">
      <field name="reserved_1" type="short"/>
      <field name="exchange" type="shortstr"/>
      <field name="type" type="shortstr"/>
      <field name="passive" type="bit"/>
      <field name="durable" type="bit"/>
      <field name="reserved_2" type="bit"/>
      <field name="reserved_3" type="bit"/>
      <field name="no_wait" type="bit"/>
      <field name="arguments" type="table"/>
    </method>
    <method id="11" name="declare_ok"/>
    <method id="20" name="delete">
      <field name="reserved_1" type="short"/>
      <field name="exchange" type="shortstr"/>
      <field name="if_unused" type="bit"/>
      <field name="no_wait" type="bit"/>
    </method>
    <method id="21" name="delete_ok"/>
  </class>
  <class name="queue" id="50">
    <method id="10" name="declare">
      <field name="reserved_1" type="short"/>
      <field name="queue" type="shortstr"/>
      <field name="passive" type="bit"/>
      <field name="durable" type="bit"/>
      <field name="exclusive" type="bit"/>
      <field name="auto_delete" type="bit"/>
      <field name="no_wait" type="bit"/>
      <field name="arguments" type="table"/>
    </method>
    <method id="11" name="declare_ok">
      <field name="queue" type="shortstr"/>
      <field name="message_count" type="long"/>
      <field name="consumer_count" type="long"/>
    </method>
    <method id="20" name="bind">
      <field name="reserved_1" type="short"/>
      <field name="queue" type="shortstr"/>
      <field name="exchange" type="shortstr"/>
      <field name="routing_key" type="shortstr"/>
      <field name="no_wait" type="bit"/>
      <field name="arguments" type="table"/>
    </method>
    <method id="21" name="bind_ok"/>
    <method id="50" name="unbind">
      <field name="reserved_1" type="short"/>
      <field name="queue" type="shortstr"/>
      <field name="exchange" type="shortstr"/>
      <field name="routing_key" type="shortstr"/>
      <field name="arguments" type="table"/>
    </method>
    <method id="51" name="unbind_ok"/>
    <method id="30" name="purge">
      <field name="reserved_1" type="short"/>
      <field name="queue" type="shortstr"/>
      <field name="no_wait" type="bit"/>
    </method>
    <method id="31" name="purge_ok">
      <field name="message_count" type="long"/>
    </method>
    <method id="40" name="delete">
      <field name="reserved_1" type="short"/>
      <field name="queue" type="shortstr"/>
      <field name="if_unused" type="bit"/>
      <field name="if_empty" type="bit"/>
      <field name="no_wait" type="bit"/>
    </method>
    <method id="41" name="delete_ok">
      <field name="message_count" type="long"/>
    </method>
  </class>
  <class name="basic" id="60">
    <field name="content_type" type="shortstr"/>
    <field name="content_encoding" type="shortstr"/>
    <field name="headers" type="table"/>
    <field name="delivery_mode" type="octet"/>
    <field name="priority" type="octet"/>
    <field name="correlation_id" type="shortstr"/>
    <field name="reply_to" type="shortstr"/>
    <field name="expiration" type="shortstr"/>
    <field name="message_id" type="shortstr"/>
    <field name="timestamp" type="timestamp"/>
    <field name="type" type="shortstr"/>
    <field name="user_id" type="shortstr"/>
    <field name="app_id" type="shortstr"/>
    <field name="reserved" type="shortstr"/>
    <method id="10" name="qos">
      <field name="prefetch_size" type="long"/>
      <field name="prefetch_count" type="short"/>
      <field name="global" type="bit"/>
    </method>
    <method id="11" name="qos_ok"/>
    <method id="20" name="consume">
      <field name="reserved_1" type="short"/>
      <field name="queue" type="shortstr"/>
      <field name="consumer_tag" type="shortstr"/>
      <field name="no_local" type="bit"/>
      <field name="no_ack" type="bit"/>
      <field name="exclusive" type="bit"/>
      <field name="no_wait" type="bit"/>
      <field name="arguments" type="table"/>
    </method>
    <method id="21" name="consume_ok">
      <field name="consumer_tag" type="shortstr"/>
    </method>
    <method id="30" name="cancel">
      <field name="consumer_tag" type="shortstr"/>
      <field name="no_wait" type="bit"/>
    </method>
    <method id="31" name="cancel_ok">
      <field name="consumer_tag" type="shortstr"/>
    </method>
    <method id="40" name="publish">
      <field name="reserved_1" type="short"/>
      <field name="exchange" type="shortstr"/>
      <field name="routing_key" type="shortstr"/>
      <field name="mandatory" type="bit"/>
      <field name="immediate" type="bit"/>
    </method>
    <method id="50" name="return">
      <field name="reply_code" type="short"/>
      <field name="reply_text" type="shortstr"/>
      <field name="exchange" type="shortstr"/>
      <field name="routing_key" type="shortstr"/>
    </method>
    <method id="60" name="deliver">
      <field name="consumer_tag" type="shortstr"/>
      <field name="delivery_tag" type="longlong"/>
      <field name="redelivered" type="bit"/>
      <field name="exchange" type="shortstr"/>
      <field name="routing_key" type="shortstr"/>
    </method>
    <method id="70" name="get">
      <field name="reserved_1" type="short"/>
      <field name="queue" type="shortstr"/>
      <field name="no_ack" type="bit"/>
    </method>
    <method id="71" name="get_ok">
      <field name="delivery_tag" type="longlong"/>
      <field name="redelivered" type="bit"/>
      <field name="exchange" type="shortstr"/>
      <field name="routing_key" type="shortstr"/>
      <field name="message_count" type="long"/>
    </method>
    <method id="72" name="get_empty">
      <field name="reserved_1" type="shortstr"/>
    </method>
    <method id="80" name="ack">
      <field name="delivery_tag" type="longlong"/>
      <field name="multiple" type="bit"/>
    </method>
    <method id="90" name="reject">
      <field name="delivery_tag" type="longlong"/>
      <field name="requeue" type="bit"/>
    </method>
    <method id="100" name="recover_async">
      <field name="requeue" type="bit"/>
    </method>
    <method id="110" name="recover">
      <field name="requeue" type="bit"/>
    </method>
    <method id="111" name="recover_ok"/>
  </class>
  <class name="tx" id="90">
    <method id="10" name="select"/>
    <method id="11" name="select_ok"/>
    <method id="20" name="commit"/>
    <method id="21" name="commit_ok"/>
    <method id="30" name="rollback"/>
    <method id="31" name="rollback_ok"/>
  </class>
</amqp>