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

Description (short)
Storage facility, delivers incoming mails into a directory.
Written by
Andreas Kupries
Description
Storage facility, delivers incoming mails into a directory.
Keywords
storage facility

Class 'dirStorage'

Description
Storage system usable by the pop client in pop3Client. Incoming mails are stored as files into a predefined directory, see option dir.
Superclasses
popClientStorageBase
Options
dir
Methods
public
TrackDir (option oldValue)
dirStorage ()
storeMessage (command message)
Membervariables
public
nextId

Options

-dir
The name of the directory to place incoming mails into.

Methods

TrackDir (option oldValue)

Configure the target directory of this storage facility.
Argument: option The name of the option to track.
Argument: oldValue The old value of the option.

dirStorage ()

Constructor, initializes nextId too.

storeMessage (command message)

Overrides popClientStorageBase:storeMessage
Store the given message into the configured directory.
Argument: command The 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: message The text of the message to store.


Membervariables

nextId
Internal state, the name of the next file to use for storing an incoming message. Initialized during construction and after every change of the target directory, see TrackDir.
initial value: 1

Generated by AutoDoc 2.4 at 09/14/2000, invoked by Andreas Kupries