Oberon || Library || Module Index || Search Engine || Definition || Module


Ulm's Oberon Library:
FTPEngine


NAME

FTPEngine - pipelining FTP engine

SYNOPSIS

PROCEDURE Run(fd: SysIO.File; session: FTPSessions.Session;
	      log: Streams.Stream);

DESCRIPTION

FTPEngine provides a pipelining FTP engine that runs for each session several tasks in parallel:

Run sets up an engine for a FTP connection fd on base of the FTP handlers associated with session and a logging stream log (passed to FTPLogPrinter if non-NIL). The file descriptor fd is put into asynchronous mode and some socket options (SysSockets.optOOBinline and SysSockets.optKeepAlive) are set for it.

DIAGNOSTICS

FTPEngine does not generate any error events on its own. RelatedEvents.QueueEvents is called for log if the log stream is non-NIL.

SEE ALSO

FTPRequests
scanner of FTP requests
FTPResponser
printer for FTP responses
FTPSessions
interface for FTP command handlers

Edited by: borchert, last change: 2001/06/01, revision: 1.2, converted to HTML: 2001/06/01

Oberon || Library || Module Index || Search Engine || Definition || Module