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

Description (short)
Delete message on pop server (TOP)
Written by
Andreas Kupries
Description
Sequencer for retrieval of message headers.
Keywords
POP3, TOP command

Class 'pop3TopSeq'

Superclasses
pop3Sequencer
Options
msg
Methods
public
GetMessage ()
GotTopData (line)
GotTopResponse (line)
TopTry ()
pop3TopSeq ()
Membervariables
public
message

Options

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

Methods

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


Membervariables

message
Used as transient storage for the incoming message.

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