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

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

Class 'pop3OpenSeq'

Superclasses
pop3Sequencer
Options
maxtries
retrydelay
host
Methods
public
GotGreeting (line)
OpenTry ()
pop3OpenSeq ()
Membervariables
public
tries

Options

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

Methods

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: line Text 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.


Membervariables

tries
The number of tries which were executed (and failed) so far.
initial value: 0

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