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


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


Written by
Andreas Kupries
Description
Sequencer for login into a pop server via APOP.
Depends on
Trf
Keywords
POP3, APOP command

Class 'pop3ApopSeq'

Superclasses
pop3Sequencer
Options
greeting, secret, user
Methods
ApopTry, GotApopResponse, GotStatResponse, pop3ApopSeq

-greeting
The text of the greeting which was sent by the server in the initialization phase of the connection.
-secret
The password of the user trying to login.
-user
The name of the user trying to login.

ApopTry ()

The first action taken after the construction of the sequencer completes. Extracts the timestamp from the greeting, uses this and the password to generate the response to our challenge, then writes out the login command to the pop3 server, at last waits for its response.

GotApopResponse (line)

Called after pop3 demon responded to the APOP command. Depending on the result of the login the sequencer stops its operation now (error), or writes out the command to retrieve the number of messages storeed in the mailbox (successful login).
Argument: lineText of response

GotStatResponse (line)

Called after pop3 demon responded to the STAT command.
Argument: lineText of response

pop3ApopSeq ()

Constructor.


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