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


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


Written by
Andreas Kupries
Description
Implements the sequencer to open a POP3 connection
Keywords
POP3, Open connection, HELO command

Class 'pop3OpenSeq'

Superclasses
pop3Sequencer
Options
host, maxtries, retrydelay
Membervariables
tries
Methods
GotGreeting, OpenTry, pop3OpenSeq

-host
Specifies the host the demon to connect to resides on. Defaults to 'localhost'.
-maxtries
Specifies the maximum allowed number of trials to connect. Defaults to 1.
-retrydelay
Specifies the time to wait (in milliseconds) after a failure before doing the next try. Defaults to 10 seconds.

tries
The number of tries which were executed (and failed) so far.

GotGreeting (line)

Called after the the demon sent a greeting message identifying itself. The sent information is stored in the pop3 descriptor as it may contain information required by APOP.
Argument: lineText of response

OpenTry ()

The first action taken after the construction of the sequencer completes. Tries to get a socket refering to a connection to the server. In case of failure at most maxtries retries are made before giving up.

pop3OpenSeq ()

Constructor.


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