summaryrefslogtreecommitdiff
path: root/include/rabbit.hrl
diff options
context:
space:
mode:
authorSimon MacMullen <simon@rabbitmq.com>2010-07-19 16:21:59 +0100
committerSimon MacMullen <simon@rabbitmq.com>2010-07-19 16:21:59 +0100
commitd774350da98eadc3f7ca2fdcfd7a57913a255151 (patch)
tree84e93c5a171c53604db19f94459174307ece6415 /include/rabbit.hrl
parent5d1744d3b0b262bf3fd29cfccf5c9b70e77f5f12 (diff)
downloadrabbitmq-server-git-d774350da98eadc3f7ca2fdcfd7a57913a255151.tar.gz
Switch to using proplists rather than records for events.
Diffstat (limited to 'include/rabbit.hrl')
-rw-r--r--include/rabbit.hrl22
1 files changed, 1 insertions, 21 deletions
diff --git a/include/rabbit.hrl b/include/rabbit.hrl
index f400495ce3..ac7e385145 100644
--- a/include/rabbit.hrl
+++ b/include/rabbit.hrl
@@ -70,27 +70,7 @@
-record(delivery, {mandatory, immediate, txn, sender, message}).
-record(amqp_error, {name, explanation, method = none}).
-
--record(event_connection_stats, {connection_pid, state, channels,
- recv_oct, recv_cnt,
- send_oct, send_cnt, send_pend}).
-
--record(event_channel_stats, {channel_pid, per_exchange_statistics,
- per_queue_statistics}).
-
--record(event_queue_stats, {qpid, messages_ready, messages_unacknowledged,
- consumers, memory, exclusive_consumer_pid,
- exclusive_consumer_tag, backing_queue_status}).
-
--record(event_connection_created, {connection_pid, address, port,
- peer_address, peer_port, user, vhost,
- timeout, frame_max, client_properties}).
--record(event_connection_closed, {connection_pid}).
--record(event_channel_created, {channel_pid, connection_pid, channel, user,
- vhost}).
--record(event_channel_closed, {channel_pid}).
-
-
+-record(event, {type, props, timestamp}).
%%----------------------------------------------------------------------------