File 'net/smtp/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 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
IsError, Log, OnDone, Write

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

IsError (line)

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

Write (text)

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


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