diff options
author | Simon MacMullen <simon@rabbitmq.com> | 2010-07-09 12:41:39 +0100 |
---|---|---|
committer | Simon MacMullen <simon@rabbitmq.com> | 2010-07-09 12:41:39 +0100 |
commit | cfdc7130ab9626d7682d96e65b2b4d787503639f (patch) | |
tree | 82a5fa8f5015d34fdbceccbb70a31f364ded353d /src/rabbit_binary_generator.erl | |
parent | 790be96b599b1089a86a0941aa9b07f5c38a13f9 (diff) | |
parent | 12b3fc1059180cd208defa4c5e51c0746bba7670 (diff) | |
download | rabbitmq-server-cfdc7130ab9626d7682d96e65b2b4d787503639f.tar.gz |
Merge default into bug22889
Diffstat (limited to 'src/rabbit_binary_generator.erl')
-rw-r--r-- | src/rabbit_binary_generator.erl | 21 |
1 files changed, 14 insertions, 7 deletions
diff --git a/src/rabbit_binary_generator.erl b/src/rabbit_binary_generator.erl index 200bf2cd..e2c56710 100644 --- a/src/rabbit_binary_generator.erl +++ b/src/rabbit_binary_generator.erl @@ -57,16 +57,23 @@ -type(frame() :: [binary()]). -spec(build_simple_method_frame/3 :: - (channel_number(), amqp_method_record(), protocol()) -> frame()). + (rabbit_channel:channel_number(), rabbit_framing:amqp_method_record(), + rabbit_types:protocol()) + -> frame()). -spec(build_simple_content_frames/4 :: - (channel_number(), content(), non_neg_integer(), protocol()) -> - [frame()]). + (rabbit_channel:channel_number(), rabbit_types:content(), + non_neg_integer(), rabbit_types:protocol()) + -> [frame()]). -spec(build_heartbeat_frame/0 :: () -> frame()). --spec(generate_table/1 :: (amqp_table()) -> binary()). --spec(encode_properties/2 :: ([amqp_property_type()], [any()]) -> binary()). +-spec(generate_table/1 :: (rabbit_framing:amqp_table()) -> binary()). +-spec(encode_properties/2 :: + ([rabbit_framing:amqp_property_type()], [any()]) -> binary()). -spec(check_empty_content_body_frame_size/0 :: () -> 'ok'). --spec(ensure_content_encoded/2 :: (content(), protocol()) -> encoded_content()). --spec(clear_encoded_content/1 :: (content()) -> unencoded_content()). +-spec(ensure_content_encoded/2 :: + (rabbit_types:content(), rabbit_types:protocol()) -> + rabbit_types:encoded_content()). +-spec(clear_encoded_content/1 :: + (rabbit_types:content()) -> rabbit_types:unencoded_content()). -endif. |