Click or drag to resize

CNNTP Class

X#
Create an Internet News Server based on NNTP (Network News Transport Protocol).
Inheritance Hierarchy
Object
  CMailAbstract
    CNNTP

Namespace:  VO
Assembly:  VOInternetClasses (in VOInternetClasses.dll) Version: 2.24 GA
Syntax
 CLASS CNNTP INHERIT CMailAbstract
Request Example View Source

The CNNTP type exposes the following members.

Constructors
  NameDescription
Public methodCNNTP
Construct a new NNTP object.
Top
Properties
  NameDescription
Public propertyCurrentNews
The current CNews object of the CNNTP class.
Public propertyGroupName
Returns a string representing the name of the currently selected group.
Public propertyMessage
Returns the numeric ID of the message currently being processed.
Public propertyMessageCount
Returns the number of messages in the currently selected group.
Public propertyMessageFirst
Returns the numeric ID of the first available message in the currently selected group.
Public propertyMessageID
Returns a string representing the unique message ID of the message currently being processed.
Public propertyMessageLast
Returns the numeric ID of the last available message in the currently selected group.
Public propertyReplyString
Returns a string with the latest reply from the NNTP Server.
(Overrides ReplyString.)
Top
Methods
  NameDescription
Public methodAuthenticate
Authenticates the user to a NNTP Server.
Public methodCheckReply
Determines if the reply from the server has been successful.
Public methodconnect
Establishes a connection to an Internet Mail Server.
Public methodDisconnect
Disconnect from the news server.
Public methodGetArticle
Retrieves a specified message from the selected group.
Public methodGetBody
Retrieves a specified message body from the selected group.
Public methodGetHeader
Retrieves a specified message header from the selected group.
Public methodGetList
Returns a list of all groups from an NTTP Server containing cSearch in their names.
Public methodGetNewGroups
Returns a list of all newly created groups from an NTTP Server.
Public methodGetNewNews
Returns a list of all newly created messages for a specific group or list of groups from an NTTP Server.
Public methodGetStatus
Retrieves a specified message status from the selected group.
Public methodPost
**Missing documentation **
Public methodPrepareCommand
**Missing documentation **
Public methodRecvData
**Missing documentation **
Public methodRecvRemote
Retrieves data from the news server via socket.
(Overrides RecvRemote.)
Public methodSendHeader
**Missing documentation **
Public methodSendMailBody
**Missing documentation **
Public methodSetNewsGroup
Selects a newsgroup from a NTTP Server for further processing.
Public methodSetReadMode
**Missing documentation **
Public methodSkipNext
Sets the internal message pointer to the next available message of the current group.
Public methodSkipPrev
Sets the internal message pointer to the previous available message of the current group.
Top
Remarks
Encapsulates an Internet session to an Internet News Server based on NNTP (Network News Transport Protocol).
See Also

Reference