Network News Transfer Protocol ( NNTP )


CLASS aprNNTP

 

Description
The aprNNTP
Class enables an application to scan, retrieve and post articles on a remote news server.

 

For Secure Edition information, see SLL Certificates.

 

Variables

 

cErr

Holds a description for the Last error code

 

Debug

Enable/Disable extended Debug notifications.

 

DebugTrace

Enable/Disable Callstack List to be included in Error Messages (:Debug)

 

LastServer

Last NNTP connected to.

 

nErr

Holds the last error code

 

Session

Holds the Initial Session handle value (used as the Default Session handle)

 

  

 

Methods

 

New()

Creates a new instance of the aprNNTP Class

 

Destroy()

Releases the system resources assigned by the :New() Method.

 

  

 

 

Authenticate()

Authenticate the specified user on the news server

 

Cancel()

Cancel the current blocking operation

 

CloseArticle()

Close the article being posted to the current newsgroup

 

Command()

Send a command to the server

 

Connect()

Connect to the specified server

 

ConnectEx()

Establish a secure client connection with a remote server

 

CreateArticle()

Create a new article in the current newsgroup

 

Disconnect()

Disconnect from the current server

 

GetArticleByMessageId()

Return the contents of the specified article in the current group

 

GetArticleByNumber()

Return the contents of the specified article in the current group

 

GetArticleHeader()

Return the contents of the specified article header

 

GetArticleMessageId()

Return the message identifier for the specified article

 

GetArticleRange()

Return the first and last article number for the current group

 

GetCurrentArticle()

Return the current article number for the selected group

 

GetCurrentDate()

Return the current date and time

 

GetGroupName()

Return the name of the currently selected newsgroup

 

GetGroupTitle()

Return a description of the currently selected newsgroup

 

GetMessageIdArticle()

Return the article number for the specified message identifier

 

GetMultiLine()

Return the client multi-line output flag

 

GetNextArticle()

Set the current article number to the next available article

 

GetPreviousArticle()

Set the current article number to the previous article

 

GetResultCode()

Return the result code from the previous command

 

GetResultString()

Return the result string from the previous command

 

GetSecurityInformation()

Return security information about the current client connection

 

GetSocket()

Return the current session socket

 

IsBlocking()

Determine if the client is blocked, waiting for information

 

ListArticles()

Return a list of articles in the currently selected newsgroup

 

ListGroups()

Return a list of newsgroups maintained by the server

 

ListNewGroups()

Return a list of newsgroups created since a specified date

 

MultiLine()

Get/Set the client multi-line output flag

 

Read()

Read data returned by the remote server

 

Reset()

Reset the client

 

SelectGroup()

Select the specified newsgroup to retrieve articles from

 

SetLastError()

Set the last error code

 

Timeout()

Get/Set the number of seconds until an operation times out

 

Trace()

Enable/Disable logging of socket-level calls to a file

 

Write()

Write data to the server