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


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


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
Membervariables
nextId
Methods
TrackDir, dirStorage, storeMessage

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

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.

TrackDir (option oldValue)

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

dirStorage ()

Constructor, initializes nextId too.

storeMessage (command message)

Store the given message into the configured directory.
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.


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