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.21
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 propertyDomainName
**Missing documentation **
(Inherited from CMailAbstract.)
Public propertyError
Numeric value representing the last occurring error code.
(Inherited from CMailAbstract.)
Public propertyErrorMsg
A string representing the error description.
(Inherited from CMailAbstract.)
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 propertyPassWord
A string representing the password to be used.
(Inherited from CMailAbstract.)
Public propertyRemoteHost
String representing the address of the mail server.
(Inherited from CMailAbstract.)
Public propertyRemotePort
Numeric value representing the port number.
(Inherited from CMailAbstract.)
Public propertyReplyCode
Numeric value representing the server's reply code.
(Inherited from CMailAbstract.)
Public propertyReplyString
Returns a string with the latest reply from the NNTP Server.
(Overrides ReplyString.)
Public propertyTimeout
Numeric value representing the time-out in milliseconds.
(Inherited from CMailAbstract.)
Public propertyTimeoutRetries
**Missing documentation **
(Inherited from CMailAbstract.)
Public propertyUserName
A string containing the user name to be used.
(Inherited from CMailAbstract.)
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 methodClose
De-initialize all internal values of an Internet session.
(Inherited from CMailAbstract.)
Public methodconnect
Establishes a connection to an Internet Mail Server.
Public methodDestroy
**Missing documentation **
(Inherited from CMailAbstract.)
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 methodInternetStatus
**Missing documentation **
(Inherited from CMailAbstract.)
Public methodOpen
Initialize all internal startup values for an Internet session.
(Inherited from CMailAbstract.)
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 methodSendData
Send data to a remote host.
(Inherited from CMailAbstract.)
Public methodSendHeader
**Missing documentation **
Public methodSendMailBody
**Missing documentation **
Public methodSendRaw
**Missing documentation **
(Inherited from CMailAbstract.)
Public methodSendRemote
Send any data to a remote host.
(Inherited from CMailAbstract.)
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
Fields
  NameDescription
Public fieldoSocket (Inherited from CMailAbstract.)
Top
Remarks
Encapsulates an Internet session to an Internet News Server based on NNTP (Network News Transport Protocol).
See Also

Reference