File 'net/pop3/mbox.cls' (part of 'Pool_Net')
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
Class 'mbox'
- -dir
- The path to the base directory containing mailboxes and mails.
Check (mbox)
|
|
Argument: mbox
|
Reference to the mailbox to be operated on.
|
Returns: Path of directory holding the message files of the specified mailbox.
|
TransferDone (mbox outchan chan transId n)
|
|
Argument: mbox
|
Reference to the mailbox to be operated on. Ignored.
|
Argument: outchan
|
The channel contained the data written.
|
Argument: chan
|
The channel to write the data into.
|
Argument: transId
|
The id of the transfer
|
Argument: n
|
Number of bytes sent, courtesy by 'fcopy'. Ignored here.
|
add (mbox)
|
|
Argument: mbox
|
Reference to the mailbox to be operated on.
|
dele (mbox msgList)
|
Overrides popServerStorageBase:dele
|
Dangers: The code assumes that the id's in the list were already checked against the maximal number of messages.
|
Argument: mbox
|
Reference to the mailbox to be operated on.
|
Argument: msgList
|
List of message ids.
|
exists (mbox)
|
|
Argument: mbox
|
Reference to the mailbox to check for.
|
Returns: 1 if the mailbox exists, 0 else.
|
lock (mbox)
|
Overrides popServerStorageBase:lock
|
Argument: mbox
|
Reference to the mailbox to be locked.
|
Returns: 1 if mailbox was locked sucessfully, 0 else.
|
locked (mbox)
|
|
Argument: mbox
|
Reference to the mailbox to check.
|
Returns: 1 if the mailbox is locked, 0 else.
|
move (old new)
|
|
Argument: old
|
Reference to the mailbox to be operated on.
|
Argument: new
|
New reference to the mailbox
|
remove (mbox)
|
|
Argument: mbox
|
Reference to the mailbox to be operated on.
|
size (mbox msgId)
|
Overrides popServerStorageBase:size
|
Argument: mbox
|
Reference to the mailbox to be operated on.
|
Argument: msgId
|
Numerical index of the message to look at.
|
Returns: size of the message in bytes.
|
stat (mbox)
|
Overrides popServerStorageBase:stat
|
Argument: mbox
|
Reference to the mailbox queried.
|
Returns: The number of messages in the mailbox
|
transfer (args)
|
Overrides popServerStorageBase:transfer
|
Argument: args
|
List of option/value-pairs, followed by 3 arguments (explained in the method description). Recognized options are '-done' and '-lines'.
The value of -done is interpreted as a script to call after completion of the transfer. Its specification is required.
On the other hand, specification of -lines is optional. It is interpreted as the number of lines to transfer, beyond the usual message header. The complete message is transfered if it is not specified.
|
- locked
- Every locked mailbox has entry in this array, its name is used as index.
- state
- Every locked mailbox has entry in this array, its name is used as index. The associated value is a list of the files in the mailbox (= list of stored mails).
- transfer
- This array contains the state for every running transfer. This state is currently only the callback script to execute after its completion.
Home | Packages | Files | Procedures | Classes | Namespaces | Keywords | External packages
Generated by AutoDoc 2.4 at 09/14/2000, invoked by Andreas Kupries