File 'net/pop3/storage/mem.cls' (part of 'Pool_Net')


Home | Packages | Files | Procedures | Classes | Keywords | External packages


Written by
Andreas Kupries
Description
Storage facility, holds incoming mails in memory
Keywords
storage facility

Class 'memStorage'

Description
Storage system usable by the pop client in pop3Client. Incoming mails are stored in memory, in the array mem.
Superclasses
popClientStorageBase
Membervariables
mem, nextId
Methods
clear, messages, storeMessage, stored

mem
The array containing the incoming messages.
nextId
The next index to use for mem.

clear ()

Removes all stored messages from memory

messages ()

Query the memory storage facility for messages stored in it.
Returns: A list containing the messages stored in the facility, and their handles, in a format suitable to 'array set'.

storeMessage (command message)

Store the given message into our internal array.
Argument: commandThe script evaluate after completion of the process (use Done to accomplish this). Allowed to be empty, nothing is done in that case. Gets either 'error' or 'done' as first argument.
Argument: messageThe text of the message to store.

stored ()

Query the memory storage facility for messages stored in it.
Returns: The number of messages stored in the facility


Generated by AutoDoc 2.1 at 02/20/1999, invoked by Andreas Kupries