2007-12-01 06:16:30 +01:00
|
|
|
%%% ====================================================================
|
2007-12-24 14:57:53 +01:00
|
|
|
%%% ``The contents of this file are subject to the Erlang Public License,
|
|
|
|
%%% Version 1.1, (the "License"); you may not use this file except in
|
|
|
|
%%% compliance with the License. You should have received a copy of the
|
|
|
|
%%% Erlang Public License along with this software. If not, it can be
|
|
|
|
%%% retrieved via the world wide web at http://www.erlang.org/.
|
|
|
|
%%%
|
|
|
|
%%% 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.
|
|
|
|
%%%
|
2008-09-16 16:39:57 +02:00
|
|
|
%%% The Initial Developer of the Original Code is ProcessOne.
|
2011-02-14 13:47:22 +01:00
|
|
|
%%% Portions created by ProcessOne are Copyright 2006-2011, ProcessOne
|
2007-12-24 14:57:53 +01:00
|
|
|
%%% All Rights Reserved.''
|
2011-02-14 13:47:22 +01:00
|
|
|
%%% This software is copyright 2006-2011, ProcessOne.
|
2007-12-24 14:57:53 +01:00
|
|
|
%%%
|
|
|
|
%%%
|
2011-02-14 13:47:22 +01:00
|
|
|
%%% copyright 2006-2011 ProcessOne
|
2007-12-01 06:16:30 +01:00
|
|
|
%%%
|
|
|
|
%%% This file contains pubsub types definition.
|
|
|
|
%%% ====================================================================
|
|
|
|
|
2010-09-20 16:54:37 +02:00
|
|
|
|
|
|
|
-include_lib("exmpp/include/exmpp.hrl").
|
|
|
|
-include_lib("exmpp/include/exmpp_jid.hrl").
|
|
|
|
|
|
|
|
|
2007-12-01 06:16:30 +01:00
|
|
|
%% -------------------------------
|
|
|
|
%% Pubsub constants
|
|
|
|
-define(ERR_EXTENDED(E,C), mod_pubsub:extended_error(E,C)).
|
|
|
|
|
2009-09-23 18:32:06 +02:00
|
|
|
%% The actual limit can be configured with mod_pubsub's option max_items_node
|
|
|
|
-define(MAXITEMS, 10).
|
|
|
|
|
2007-12-01 06:16:30 +01:00
|
|
|
%% this is currently a hard limit.
|
|
|
|
%% Would be nice to have it configurable.
|
|
|
|
-define(MAX_PAYLOAD_SIZE, 60000).
|
|
|
|
|
2010-09-20 16:54:37 +02:00
|
|
|
|
|
|
|
%% ------------
|
2007-12-01 06:16:30 +01:00
|
|
|
%% Pubsub types
|
2010-09-20 16:54:37 +02:00
|
|
|
%% ------------
|
2007-12-01 06:16:30 +01:00
|
|
|
|
2010-09-29 11:48:19 +02:00
|
|
|
%%% @type hostPubsub() = binary().
|
2010-09-20 16:54:37 +02:00
|
|
|
%%%
|
2010-09-29 11:48:19 +02:00
|
|
|
%%% <p><tt>hostPubsub</tt> is the name of the PubSub service. For example, it can be
|
2010-09-10 19:45:28 +02:00
|
|
|
%%% <tt>pubsub.localhost</tt>.</p>
|
|
|
|
|
2010-09-29 11:48:19 +02:00
|
|
|
-type(hostPubsub() :: binary()).
|
2010-09-20 16:54:37 +02:00
|
|
|
|
|
|
|
|
2010-09-30 13:44:16 +02:00
|
|
|
%%% @type hostPEP() = {User, Server, Resource}
|
|
|
|
%%% User = binary()
|
|
|
|
%%% Server = binary()
|
|
|
|
%%% Resource = undefined.
|
2010-09-29 11:48:19 +02:00
|
|
|
|
2010-10-19 17:08:59 +02:00
|
|
|
-type(hostPEP() :: {User::binary(), Server::binary(), Resource::undefined}).
|
2010-09-29 11:48:19 +02:00
|
|
|
|
|
|
|
|
|
|
|
%%% @type host() = hostPubsub() | hostPEP().
|
|
|
|
|
|
|
|
-type(host() :: hostPubsub() | hostPEP()).
|
|
|
|
|
|
|
|
|
|
|
|
%% TODO : move upper in exmpp
|
2010-09-20 16:54:37 +02:00
|
|
|
%%% @type nodeId() = binary().
|
|
|
|
%%%
|
|
|
|
%%% <p>A <tt>nodeId</tt> is the name of a Node. It can be anything and may represent
|
2010-09-10 19:45:28 +02:00
|
|
|
%%% some hierarchical tree depending of the node type.
|
|
|
|
%%% For example:
|
|
|
|
%%% /home/localhost/user/node
|
|
|
|
%%% princely_musings
|
|
|
|
%%% http://jabber.org/protocol/tune
|
|
|
|
%%% My-Own_Node</p>
|
|
|
|
|
2010-09-20 16:54:37 +02:00
|
|
|
-type(nodeId() :: binary()).
|
|
|
|
|
|
|
|
|
|
|
|
%%% @type itemId() = binary().
|
|
|
|
%%%
|
|
|
|
%%% <p>An <tt>itemId</tt> is the name of an Item. It can be anything.
|
2010-09-10 19:45:28 +02:00
|
|
|
%%% For example:
|
|
|
|
%%% 38964
|
|
|
|
%%% my-tune
|
|
|
|
%%% FD6SBE6a27d</p>
|
2007-12-01 06:16:30 +01:00
|
|
|
|
2010-09-20 16:54:37 +02:00
|
|
|
-type(itemId() :: binary()).
|
|
|
|
|
|
|
|
|
|
|
|
%%% @type subId() = binary().
|
|
|
|
|
|
|
|
-type(subId() :: binary()).
|
|
|
|
|
|
|
|
|
|
|
|
%%% @type nodeType() = string().
|
|
|
|
%%%
|
|
|
|
%%% <p>The <tt>nodeType</tt> is a string containing the name of the PubSub
|
|
|
|
%%% plugin to use to manage a given node. For example, it can be
|
|
|
|
%%% <tt>"flat"</tt>, <tt>"hometree"</tt> or <tt>"blog"</tt>.</p>
|
|
|
|
|
|
|
|
-type(nodeType() :: string()).
|
|
|
|
|
|
|
|
|
2010-09-30 13:44:16 +02:00
|
|
|
%%% @type ljid() = {User, Server, Resource}
|
|
|
|
%%% User = undefined | binary()
|
|
|
|
%%% Server = binary()
|
|
|
|
%%% Resource = undefined | binary().
|
2010-09-20 16:54:37 +02:00
|
|
|
|
|
|
|
-type(ljid() :: {User::binary(), Server::binary(), Resource::binary()}).
|
|
|
|
|
|
|
|
|
2010-09-29 11:48:19 +02:00
|
|
|
%% TODO : move upper in exmpp
|
2010-09-30 13:44:16 +02:00
|
|
|
%%% @type jidComponent() = {jid, Raw, Node, Domain, Resource}
|
|
|
|
%%% Raw = binary()
|
|
|
|
%%% Node = undefined
|
|
|
|
%%% Domain = binary()
|
|
|
|
%%% Resource = undefined.
|
2010-09-29 11:48:19 +02:00
|
|
|
|
|
|
|
-type(jidComponent() ::
|
|
|
|
#jid{raw::binary(), node::undefined, domain::binary(), resource::undefined}).
|
|
|
|
|
|
|
|
|
|
|
|
%% TODO : move upper in exmpp
|
2010-09-30 13:44:16 +02:00
|
|
|
%%% @type jidContact() = {jid, Raw, Node, Domain, Resource}
|
|
|
|
%%% Raw = binary()
|
|
|
|
%%% Node = binary()
|
|
|
|
%%% Domain = binary()
|
|
|
|
%%% Resource = undefined.
|
2010-09-29 11:48:19 +02:00
|
|
|
|
|
|
|
-type(jidContact() ::
|
|
|
|
#jid{raw::binary(), node::binary(), domain::binary(), resource::undefined}).
|
|
|
|
|
|
|
|
|
|
|
|
%% TODO : move upper in exmpp
|
2010-09-30 13:44:16 +02:00
|
|
|
%%% @type jidEntity() = {jid, Raw, Node, Domain, Resource}
|
|
|
|
%%% Raw = binary()
|
|
|
|
%%% Node = undefined | binary()
|
|
|
|
%%% Domain = binary()
|
|
|
|
%%% Resource = undefined | binary().
|
|
|
|
|
2010-09-29 11:48:19 +02:00
|
|
|
|
|
|
|
-type(jidEntity() ::
|
|
|
|
%% Contact bare JID
|
|
|
|
#jid{raw::binary(), node::binary(), domain::binary(), resource::undefined} |
|
|
|
|
%% Contact full JID
|
|
|
|
#jid{raw::binary(), node::binary(), domain::binary(), resource::binary()} |
|
|
|
|
%% Component bare JID
|
|
|
|
#jid{raw::binary(), node::undefined, domain::binary(), resource::undefined} |
|
|
|
|
%% Component full JID
|
|
|
|
#jid{raw::binary(), node::undefined, domain::binary(), resource::binary()}).
|
|
|
|
|
|
|
|
|
2010-09-30 13:44:16 +02:00
|
|
|
%%% @type bareUsr() = {User, Server, Resource}
|
|
|
|
%%% User = undefined | binary()
|
|
|
|
%%% Server = binary()
|
|
|
|
%%% Resource = undefined.
|
2010-09-29 11:48:19 +02:00
|
|
|
|
|
|
|
-type(bareUsr() :: {User::binary(), Server::binary(), Resource::undefined}
|
|
|
|
| {User::undefined, Server::binary(), Resource::undefined}).
|
|
|
|
|
|
|
|
|
2010-09-30 13:44:16 +02:00
|
|
|
%%% @type fullUsr() = {User, Server, Resource}
|
|
|
|
%%% User = undefined | binary()
|
|
|
|
%%% Server = binary()
|
|
|
|
%%% Resource = undefined | binary().
|
|
|
|
|
2010-09-29 11:48:19 +02:00
|
|
|
|
|
|
|
-type(fullUsr() :: {User::binary(), Server::binary(), Resource::undefined}
|
|
|
|
| {User::binary(), Server::binary(), Resource::binary()}
|
|
|
|
| {User::undefined, Server::binary(), Resource::undefined}
|
|
|
|
| {User::undefined, Server::binary(), Resource::binary()}).
|
|
|
|
|
|
|
|
|
2010-09-20 16:54:37 +02:00
|
|
|
%%% @type nodeIdx() = integer().
|
|
|
|
|
|
|
|
-type(nodeIdx() :: integer()).
|
|
|
|
|
|
|
|
|
2010-09-30 13:44:16 +02:00
|
|
|
%%% @type now() = {Megaseconds, Seconds, Microseconds}
|
|
|
|
%%% Megaseconds = integer()
|
|
|
|
%%% Seconds = integer()
|
|
|
|
%%% Microseconds = integer().
|
2010-09-20 16:54:37 +02:00
|
|
|
|
|
|
|
-type(now() :: {Megaseconds::integer(), Seconds::integer(), Microseconds::integer()}).
|
|
|
|
|
|
|
|
|
2010-09-29 11:48:19 +02:00
|
|
|
%%% @type affiliation() = 'none' | 'owner' | 'publisher' |'publish-only' | 'member' | 'outcast'.
|
2010-09-20 16:54:37 +02:00
|
|
|
|
2010-09-29 11:48:19 +02:00
|
|
|
-type(affiliation() :: 'none' | 'owner' | 'publisher' |'publish-only' | 'member' | 'outcast').
|
2010-09-20 16:54:37 +02:00
|
|
|
|
|
|
|
|
2010-09-29 11:48:19 +02:00
|
|
|
%%% @type subscription() = 'none' | 'pending' | 'unconfigured' | 'subscribed'.
|
2010-09-20 16:54:37 +02:00
|
|
|
|
2010-09-29 11:48:19 +02:00
|
|
|
-type(subscription() :: 'none' | 'pending' | 'unconfigured' | 'subscribed').
|
2010-09-20 16:54:37 +02:00
|
|
|
|
|
|
|
|
2010-09-29 11:48:19 +02:00
|
|
|
%%% @type accessModel() = 'open' | 'presence' | 'roster' | 'authorize' | 'whitelist'.
|
2010-09-20 16:54:37 +02:00
|
|
|
|
2010-09-29 11:48:19 +02:00
|
|
|
-type(accessModel() :: 'open' | 'presence' | 'roster' | 'authorize' | 'whitelist').
|
|
|
|
|
|
|
|
|
|
|
|
%%% @type payload() = [] | [#xmlel{}].
|
|
|
|
|
|
|
|
-type(payload() :: [] | [#xmlel{}]).
|
2010-09-20 16:54:37 +02:00
|
|
|
|
|
|
|
|
2010-01-27 19:53:56 +01:00
|
|
|
%%% @type stanzaError() = #xmlel{}.
|
2010-09-20 16:54:37 +02:00
|
|
|
%%%
|
2007-12-01 06:16:30 +01:00
|
|
|
%%% Example:
|
2010-01-27 19:53:56 +01:00
|
|
|
%%% ```#xmlel{name = 'error'
|
|
|
|
%%% ns = ?NS_STANZAS,
|
|
|
|
%%% attrs = [
|
|
|
|
%%% #xmlattr{
|
|
|
|
%%% name = 'code',
|
|
|
|
%%% ns = ?NS_STANZAS,
|
|
|
|
%%% value = Code
|
|
|
|
%%% },
|
|
|
|
%%% attrs = [
|
|
|
|
%%% #xmlattr{
|
|
|
|
%%% name = 'type',
|
|
|
|
%%% ns = ?NS_STANZAS,
|
|
|
|
%%% value = Type
|
|
|
|
%%% }
|
|
|
|
%%% ]}'''
|
2007-12-01 06:16:30 +01:00
|
|
|
|
2010-09-20 16:54:37 +02:00
|
|
|
-type(stanzaError() :: #xmlel{}).
|
|
|
|
|
|
|
|
|
2010-01-27 19:53:56 +01:00
|
|
|
%%% @type pubsubIQResponse() = #xmlel{}.
|
2010-09-20 16:54:37 +02:00
|
|
|
%%%
|
2007-12-01 06:16:30 +01:00
|
|
|
%%% Example:
|
2010-01-27 19:53:56 +01:00
|
|
|
%%% ```#xmlel{name = 'pubsub',
|
|
|
|
%%% ns = ?NS_PUBSUB,
|
|
|
|
%%% children = [
|
|
|
|
%%% #xmlel{name = 'affiliations'
|
|
|
|
%%% ns = ?NS_PUBSUB
|
|
|
|
%%% }
|
|
|
|
%%% ]
|
|
|
|
%%% }'''
|
2007-12-01 06:16:30 +01:00
|
|
|
|
2010-09-20 16:54:37 +02:00
|
|
|
-type(pubsubIQResponse() :: #xmlel{}).
|
|
|
|
|
|
|
|
|
2010-09-30 13:44:16 +02:00
|
|
|
%%% @type features() = [Feature]
|
|
|
|
%%% Feature = string().
|
2010-09-29 11:48:19 +02:00
|
|
|
|
|
|
|
-type(features() :: [Feature::string()]).
|
|
|
|
|
2010-09-20 16:54:37 +02:00
|
|
|
%%% @type nodeOption() = {Option, Value}.
|
|
|
|
%%% Option = atom()
|
|
|
|
%%% Value = term().
|
|
|
|
%%%
|
2007-12-01 06:16:30 +01:00
|
|
|
%%% Example:
|
|
|
|
%%% ```{deliver_payloads, true}'''
|
|
|
|
|
2010-09-20 16:54:37 +02:00
|
|
|
-type(nodeOption() :: {Option::atom(), Value::term()}).
|
2007-12-01 06:16:30 +01:00
|
|
|
|
2010-09-29 11:48:19 +02:00
|
|
|
|
2010-09-20 16:54:37 +02:00
|
|
|
%%% @type subOption() = {Option, Value}.
|
|
|
|
%%% Option = atom()
|
|
|
|
%%% Value = term().
|
2007-12-01 06:16:30 +01:00
|
|
|
|
2010-09-20 16:54:37 +02:00
|
|
|
-type(subOption() :: {Option::atom(), Value::term()}).
|
2007-12-01 06:16:30 +01:00
|
|
|
|
|
|
|
|
2010-09-20 16:54:37 +02:00
|
|
|
%%% @type pubsubIndex() = {pubsub_index, Index, Last, Free}.
|
|
|
|
%%% Index = atom()
|
|
|
|
%%% Last = nodeIdx()
|
|
|
|
%%% Free = [nodeIdx()].
|
|
|
|
%%%
|
|
|
|
%%% Internal pubsub index table.
|
|
|
|
|
|
|
|
-record(pubsub_index,
|
2010-09-29 11:48:19 +02:00
|
|
|
{
|
|
|
|
index :: atom(),
|
|
|
|
last :: integer(),
|
|
|
|
free :: [integer()]
|
|
|
|
}).
|
2009-05-01 01:17:38 +02:00
|
|
|
|
2010-09-20 16:54:37 +02:00
|
|
|
-type(pubsubIndex() :: #pubsub_index{}).
|
|
|
|
|
|
|
|
|
|
|
|
%%% @type pubsubNode() = {pubsub_node, Id, Idx, Parents, Type, Owners, Options}
|
|
|
|
%%% Id = {host(), nodeId()}
|
|
|
|
%%% Idx = nodeIdx()
|
|
|
|
%%% Parents = [nodeId()]
|
|
|
|
%%% Type = nodeType()
|
2010-09-29 11:48:19 +02:00
|
|
|
%%% Owners = [bareUsr()]
|
2010-09-20 16:54:37 +02:00
|
|
|
%%% Options = [nodeOption()].
|
|
|
|
%%%
|
2007-12-01 06:16:30 +01:00
|
|
|
%%% <p>This is the format of the <tt>nodes</tt> table. The type of the table
|
|
|
|
%%% is: <tt>set</tt>,<tt>ram/disc</tt>.</p>
|
2010-09-10 19:45:28 +02:00
|
|
|
%%% <p>The <tt>parents</tt> and <tt>type</tt> fields are indexed.</p>
|
2010-09-20 16:54:37 +02:00
|
|
|
%%% <p><tt>idx</tt> is an integer.</p>
|
|
|
|
|
|
|
|
-record(pubsub_node,
|
2010-09-29 11:48:19 +02:00
|
|
|
{
|
|
|
|
id :: {host(), nodeId()},
|
|
|
|
idx :: nodeIdx(),
|
|
|
|
parents = [] :: [nodeId()],
|
|
|
|
type = "flat" :: nodeType(),
|
|
|
|
owners = [] :: [bareUsr()],
|
|
|
|
options = [] :: [nodeOption()]
|
|
|
|
}).
|
2010-09-20 16:54:37 +02:00
|
|
|
|
|
|
|
-type(pubsubNode() :: #pubsub_node{}).
|
|
|
|
|
|
|
|
|
2011-03-23 09:36:03 +01:00
|
|
|
%%% @type pubsubState() = {pubsub_state, Id, NodeIdx, Items, Affiliation, Subscriptions}
|
2010-09-29 11:48:19 +02:00
|
|
|
%%% Id = {fullUsr(), nodeIdx()}
|
2011-03-23 09:36:03 +01:00
|
|
|
%%% NodeIdx = nodeIdx(),
|
2010-09-20 16:54:37 +02:00
|
|
|
%%% Items = [itemId()]
|
|
|
|
%%% Affiliation = affiliation()
|
2010-09-29 11:48:19 +02:00
|
|
|
%%% Subscriptions = [{subscription(), subId()}].
|
2010-09-20 16:54:37 +02:00
|
|
|
%%%
|
2007-12-01 06:16:30 +01:00
|
|
|
%%% <p>This is the format of the <tt>affiliations</tt> table. The type of the
|
|
|
|
%%% table is: <tt>set</tt>,<tt>ram/disc</tt>.</p>
|
2010-09-20 16:54:37 +02:00
|
|
|
|
|
|
|
-record(pubsub_state,
|
2010-09-29 11:48:19 +02:00
|
|
|
{
|
|
|
|
id :: {fullUsr(), nodeIdx()},
|
2011-03-23 09:36:03 +01:00
|
|
|
nodeidx :: nodeIdx(),
|
2010-09-29 11:48:19 +02:00
|
|
|
items = [] :: [itemId()],
|
|
|
|
affiliation = 'none' :: affiliation(),
|
|
|
|
subscriptions = [] :: [{subscription(), subId()}]
|
|
|
|
}).
|
2007-12-01 06:16:30 +01:00
|
|
|
|
2010-09-20 16:54:37 +02:00
|
|
|
-type(pubsubState() :: #pubsub_state{}).
|
|
|
|
|
|
|
|
|
2011-03-23 09:36:03 +01:00
|
|
|
%%% @type pubsubItem() = {pubsub_item, Id, NodeIdx, Creation, Modification, Payload}
|
2010-09-20 16:54:37 +02:00
|
|
|
%%% Id = {itemId(), nodeIdx()}
|
2011-03-23 09:36:03 +01:00
|
|
|
%%% NodeIdx = nodeIdx()
|
2010-09-29 11:48:19 +02:00
|
|
|
%%% Creation = {now(), bareUsr()}
|
|
|
|
%%% Modification = {now(), fullUsr()}
|
2010-09-20 16:54:37 +02:00
|
|
|
%%% Payload = payload().
|
|
|
|
%%%
|
2007-12-01 06:16:30 +01:00
|
|
|
%%% <p>This is the format of the <tt>published items</tt> table. The type of the
|
|
|
|
%%% table is: <tt>set</tt>,<tt>disc</tt>,<tt>fragmented</tt>.</p>
|
2010-09-20 16:54:37 +02:00
|
|
|
|
|
|
|
-record(pubsub_item,
|
2010-09-29 11:48:19 +02:00
|
|
|
{
|
|
|
|
id :: {itemId(), nodeIdx()},
|
2011-03-23 09:36:03 +01:00
|
|
|
nodeidx :: nodeIdx(),
|
2010-09-29 11:48:19 +02:00
|
|
|
creation = {unknown,unknown} :: {now(), bareUsr()},
|
|
|
|
modification = {unknown,unknown} :: {now(), fullUsr()},
|
|
|
|
payload = [] :: payload()
|
|
|
|
}).
|
2010-09-20 16:54:37 +02:00
|
|
|
|
|
|
|
-type(pubsubItem() :: #pubsub_item{}).
|
|
|
|
|
|
|
|
|
|
|
|
%%% @type pubsubSubscription() = {pubsub_subscription, SubId, Options}
|
|
|
|
%%% SubId = subId()
|
|
|
|
%%% Options = [nodeOption()].
|
|
|
|
%%%
|
2009-08-25 19:14:30 +02:00
|
|
|
%% <p>This is the format of the <tt>subscriptions</tt> table. The type of the
|
|
|
|
%% table is: <tt>set</tt>,<tt>ram/disc</tt>.</p>
|
2010-05-28 11:32:51 +02:00
|
|
|
|
2010-09-20 16:54:37 +02:00
|
|
|
-record(pubsub_subscription,
|
2010-09-29 11:48:19 +02:00
|
|
|
{
|
|
|
|
subid :: subId(),
|
|
|
|
options :: [subOption()]
|
|
|
|
}).
|
2010-09-20 16:54:37 +02:00
|
|
|
|
|
|
|
-type(pubsubSubscription() :: #pubsub_subscription{}).
|
|
|
|
|
|
|
|
|
|
|
|
%%% @type pubsubLastItem() = {pubsub_last_item, NodeId, ItemId, Creation, Payload}
|
|
|
|
%%% NodeId = nodeIdx()
|
|
|
|
%%% ItemId = itemId()
|
2010-09-29 11:48:19 +02:00
|
|
|
%%% Creation = {now(), bareUsr()}
|
2010-09-20 16:54:37 +02:00
|
|
|
%%% Payload = payload().
|
|
|
|
%%%
|
2010-05-28 11:32:51 +02:00
|
|
|
%% <p>This is the format of the <tt>last items</tt> table. it stores last item payload
|
|
|
|
%% for every node</p>
|
2010-09-20 16:54:37 +02:00
|
|
|
|
|
|
|
-record(pubsub_last_item,
|
2010-09-29 11:48:19 +02:00
|
|
|
{
|
|
|
|
nodeid :: nodeIdx(),
|
|
|
|
itemid :: itemId(),
|
|
|
|
creation :: {now(), bareUsr()},
|
|
|
|
payload :: payload()
|
|
|
|
}).
|
2010-09-20 16:54:37 +02:00
|
|
|
|
|
|
|
-type(pubsubLastItem() :: #pubsub_last_item{}).
|