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

Description (short)
POP3 sequencer base
Written by
Andreas Kupries
Description
Base functionality of all sequencers handling a POP3 command.
Keywords
POP3, sequencer base

Class 'pop3Sequencer'

Description
Special sequencer containing the common information and functionality required by a sequencer handling an POP command
Superclasses
sequencer
Options
conn
done
sock
Methods
public
IsError (line)
Log (text)
OnDone ()
Write (text)

Options

-conn
Handle of the pop3Connection object which created the sequencer.
-done
Name of the method to call at conn after completion of the sequence.
-sock
The socket to use to talk with the pop3 demon.

Methods

IsError (line)

Determines the error state of the POP3 response contained in line.
Argument: line The response to check.
Returns: 1 in case of an error detected, 0 else.

Log (text)

Logs the specified text using syslog facility of Pool.
Argument: text The text to log.

OnDone ()

Overrides sequencer:OnDone
Overides base class definition sequencer:OnDone to call the completion method in the associated pop3 connection object.

Write (text)

Send the specified text to the pop3 demon. Additionally logs it using the syslog facility of Pool.
Argument: text The text to send to the pop3 demon.


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