Class |
Description |
CNntpClient |
Constructor which initializes the current instance of the
class |
~CNntpClient |
Destructor which releases resources allocated by the class |
Method |
Description |
AttachHandle |
Attach the specified client handle to this instance of the
class |
AttachThread |
Attach the specified client handle to another thread |
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 |
CreateArticle |
Create a new article in the current newsgroup |
CreateSecurityCredentials |
Create a new security credentials structure |
DeleteSecurityCredentials |
Delete a previously created security credentials structure |
DetachHandle |
Detach the handle for the current instance of this class |
DisableEvents |
Disable asynchronous event notification |
DisableTrace |
Disable logging of network function calls to the trace log |
Disconnect |
Disconnect from the current server |
EnableEvents |
Enable asynchronous event notification |
EnableTrace |
Enable logging of network function calls to a file |
FreezeEvents |
Suspend asynchronous event processing |
GetArticle |
Copy the specified article to a local buffer |
GetArticleHeaders |
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 |
GetErrorString |
Return a description for the specified error code |
GetFirstArticle |
Return the first available article in the currently selected
newsgroup |
GetFirstGroup |
Return the first available newsgroup from the server |
GetHandle |
Return the client handle used by this instance of the
class |
GetGroupName |
Return the name of the currently selected newsgroup |
GetGroupTitle |
Return a description of the currently selected newsgroup |
GetLastError |
Return the last error code |
GetMessageIdArticle |
Return the article number for the specified message
identifier |
GetNextArticle |
Return the next available article from the currently selected
newsgroup |
GetNextGroup |
Return the next available newsgroup from the server |
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 |
GetStatus |
Return the current client status |
GetTimeout |
Return the number of seconds until an operation times out |
GetTransferStatus |
Return data transfer statistics |
IsBlocking |
Determine if the client is blocked, waiting for
information |
IsConnected |
Determine if the client is connected to the server |
IsInitialized |
Determine if the class has been successfully initialized |
IsReadable |
Determine if data can be read from the server |
IsWritable |
Determine if data can be written to the server |
ListArticles |
Return a list of articles in the currently selected
newsgroup |
ListGroups |
Return a list of newsgroups maintained by the server |
NntpEventProc |
Callback method that processes events generated by the
client |
OpenArticle |
Open the specified article in the currently selected
newsgroup |
OpenNextArticle |
Open the next available article |
OpenPreviousArticle |
Open the previous article |
PostArticle |
Post a new article to the news server |
Read |
Read data returned by the news server |
RegisterEvent |
Register an event callback function |
Reset |
Reset the client |
SelectGroup |
Select the specified newsgroup to retrieve articles from |
SetLastError |
Set the last error code |
SetTimeout |
Set the number of seconds until an operation times out |
ShowError |
Display a message box with a description of the specified
error |
StoreArticle |
Store the specified article to a file on the local system |
Write |
Write data to the news server |