Permalink
Browse files

made from rabbitmq-erlang-client rabbitmq_v2_1_0

  • Loading branch information...
0 parents commit 16fb9982b9c85bb6c8fdd6f01d5c85bd60508735 David Reid committed Sep 28, 2010
@@ -0,0 +1,2 @@
+deps
+ebin
@@ -0,0 +1,51 @@
+%% The contents of this file are subject to the Mozilla Public License
+%% Version 1.1 (the "License"); you may not use this file except in
+%% compliance with the License. You may obtain a copy of the License at
+%% http://www.mozilla.org/MPL/
+%%
+%% Software distributed under the License is distributed on an "AS IS"
+%% basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the
+%% License for the specific language governing rights and limitations
+%% under the License.
+%%
+%% The Original Code is the RabbitMQ Erlang Client.
+%%
+%% The Initial Developers of the Original Code are LShift Ltd.,
+%% Cohesive Financial Technologies LLC., and Rabbit Technologies Ltd.
+%%
+%% Portions created by LShift Ltd., Cohesive Financial
+%% Technologies LLC., and Rabbit Technologies Ltd. are Copyright (C)
+%% 2007 LShift Ltd., Cohesive Financial Technologies LLC., and Rabbit
+%% Technologies Ltd.;
+%%
+%% All Rights Reserved.
+%%
+%% Contributor(s): Ben Hood <0x6e6562@gmail.com>.
+%%
+
+-include_lib("rabbit_common/include/rabbit.hrl").
+-include_lib("rabbit_common/include/rabbit_framing.hrl").
+
+-define(PROTOCOL_VERSION_MAJOR, 0).
+-define(PROTOCOL_VERSION_MINOR, 9).
+-define(PROTOCOL_HEADER, <<"AMQP", 0, 0, 9, 1>>).
+-define(PROTOCOL, rabbit_framing_amqp_0_9_1).
+
+-define(MAX_CHANNEL_NUMBER, 65535).
+
+-record(amqp_msg, {props = #'P_basic'{}, payload = <<>>}).
+
+-record(amqp_params, {username = <<"guest">>,
+ password = <<"guest">>,
+ virtual_host = <<"/">>,
+ host = "localhost",
+ port = ?PROTOCOL_PORT,
+ channel_max = 0,
+ frame_max = 0,
+ heartbeat = 0,
+ ssl_options = none,
+ client_properties = []}).
+
+-define(LOG_DEBUG(Format), error_logger:info_msg(Format)).
+-define(LOG_INFO(Format, Args), error_logger:info_msg(Format, Args)).
+-define(LOG_WARN(Format, Args), error_logger:warning_msg(Format, Args)).
@@ -0,0 +1,3 @@
+{deps, [{rabbit_common, ".*",
+ {git, "https://github.com/dreid/rabbit_common.git", ""}}
+ ]}.
Oops, something went wrong.

0 comments on commit 16fb998

Please sign in to comment.