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


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


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
IsError, Log, OnDone, Write

-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.

IsError (line)

Determines the error state of the POP3 response contained in line.
Argument: lineThe 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: textThe text to log.

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: textThe text to send to the pop3 demon.


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