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


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


Written by
Andreas Kupries
Description
Sequencer for retrieval of message headers.
Keywords
POP3, TOP command

Class 'pop3TopSeq'

Superclasses
pop3Sequencer
Options
msg
Membervariables
message
Methods
GetMessage, GotTopData, GotTopResponse, TopTry, pop3TopSeq

-msg
The numerical index of the message to delete at the server.

message
Used as transient storage for the incoming message.

GetMessage ()

Accessor method.
Returns: is the text of the received message.

GotTopData (line)

Called for each line of the incoming mail. Stops the sequencer upon detection of the end-of-message marker (single dot on a line by itself), or appends the line to its internal store.
Argument: lineText of response

GotTopResponse (line)

Called after pop3 demon responded to the TOP command. An error aborts the operation, else we start reading the incoming message, which followed the server response immediately.
Argument: lineText of response

TopTry ()

The first action taken after the construction of the sequencer completes. Writes out the retrieval command to the pop3 server, then waits for its response.

pop3TopSeq ()

Constructor.


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