Michael Scherer > DJabberd-Plugin-PrivateStorage > DJabberd::Plugin::PrivateStorage::InMemoryOnly

Download:
DJabberd-Plugin-PrivateStorage-0.60.tar.gz

Dependencies

Annotate this POD

View/Report Bugs
Source  

load_privatestorage($self, $user, $element)

Load the element $element for $user from memory.

store_privatestorage($self, $user, $element, $content)

Store $content for $element and $user in memory.

NAME ^

DJabberd::Plugin::PrivateStorage::InMemoryOnly - implement private storage, stored in memory

SYNOPSIS ^

  <Plugin DJabberd::Plugin::PrivateStorage::InMemoryOnly />

DESCRIPTION ^

This plugin is derived from DJabberd::Plugin::PrivateStorage. It implement a memory backend, using a simple hash.

WARNING ^

This is just for testing purpose, beware this is will not survive to a restart of the server.

COPYRIGHT ^

This module is Copyright (c) 2006 Michael Scherer All rights reserved.

You may distribute under the terms of either the GNU General Public License or the Artistic License, as specified in the Perl README file.

WARRANTY ^

This is free software. IT COMES WITHOUT WARRANTY OF ANY KIND.

AUTHORS ^

Michael Scherer <misc@zarb.org>

syntax highlighting: