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

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

Class 'smtpSequencer'

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

Options

-conn
Handle of the smtpConnection object which created the sequencer.
-done
Name of the method to call in conn after completion of the sequencer.
-sock
The socket to use to talk with the smtp demon.

Methods

IsError (line)

Determines the error state of the SMTP 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 smtp connection object.

Write (text)

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


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