nsINntpIncomingServer

IID:020b614c-7bb2-44a3-9e6c-550e117d86e4
Inherits From:nsISupports

This interface is implemented by the following components:


Properties

PRBool abbreviate

ACString charset

The server charset and it may be needed to display newsgroup folder names correctly

readonly nsISupports firstGroupNeedingCounts

readonly AUTF8String firstGroupNeedingExtraInfo

PRUint32 lastUpdatedTime

PRBool markOldRead

PRInt32 maxArticles

PRInt32 maximumConnectionsNumber

nsIFileSpec newsrcFilePath

PRBool newsrcHasChanged

nsIFileSpec newsrcRootPath

PRBool notifyOn

readonly PRInt32 numGroupsNeedingCounts

PRBool postingAllowed

PRBool pushAuth

PRBool singleSignon

PRBool supportsExtensions


Methods

void addExtension ( char* extension ) void addNewsgroup ( AString name ) [noscript] void addNewsgroupToList ( char* name ) void addPropertyForGet ( char* name , char* value ) void addSearchableGroup ( AString name ) void addSearchableHeader ( char* headerName ) PRBool containsNewsgroup ( AUTF8String name ) void displaySubscribedGroup ( nsIMsgNewsFolder msgFolder , PRInt32 firstMessage , PRInt32 lastMessage , PRInt32 totalMessages ) nsIMsgNewsFolder findGroup ( AUTF8String name ) void getNntpConnection ( nsIURI url , nsIMsgWindow window , out nsINNTPProtocol nntpConnection ) void groupNotFound ( nsIMsgWindow window , AString group , PRBool opening ) PRBool queryExtension ( char* extension ) char* queryPropertyForGet ( char* name ) PRBool querySearchableGroup ( AString name ) PRBool querySearchableHeader ( char* headerName ) void removeConnection ( nsINNTPProtocol nntpConnection ) void removeNewsgroup ( AString name ) void setGroupNeedsExtraInfo ( AUTF8String name , PRBool needsExtrinfo ) void setPrettyNameForGroup ( AString name , AString prettyName ) void subscribeToNewsgroup ( AUTF8String name ) void writeNewsrcFile ( )

void addExtension ( char* extension )

Arguments:
extension

void addNewsgroup ( AString name )

Arguments:
name

void addNewsgroupToList ( char* name )

Arguments:
name

void addPropertyForGet ( char* name , char* value )

Arguments:
name
value

void addSearchableGroup ( AString name )

Arguments:
name

void addSearchableHeader ( char* headerName )

Arguments:
headerName

PRBool containsNewsgroup ( AUTF8String name )

Arguments:
name

void displaySubscribedGroup ( nsIMsgNewsFolder msgFolder , PRInt32 firstMessage , PRInt32 lastMessage , PRInt32 totalMessages )

Arguments:
msgFolder
firstMessage
lastMessage
totalMessages

nsIMsgNewsFolder findGroup ( AUTF8String name )

Arguments:
name

void getNntpConnection ( nsIURI url , nsIMsgWindow window , out nsINNTPProtocol nntpConnection )

Arguments:
url
window
nntpConnection

void groupNotFound ( nsIMsgWindow window , AString group , PRBool opening )

Arguments:
window
group
opening

PRBool queryExtension ( char* extension )

Arguments:
extension

char* queryPropertyForGet ( char* name )

Arguments:
name

PRBool querySearchableGroup ( AString name )

Arguments:
name

PRBool querySearchableHeader ( char* headerName )

Arguments:
headerName

void removeConnection ( nsINNTPProtocol nntpConnection )

Arguments:
nntpConnection

void removeNewsgroup ( AString name )

Arguments:
name

void setGroupNeedsExtraInfo ( AUTF8String name , PRBool needsExtrinfo )

Arguments:
name
needsExtrinfo

void setPrettyNameForGroup ( AString name , AString prettyName )

Arguments:
name
prettyName

void subscribeToNewsgroup ( AUTF8String name )

Arguments:
name

void writeNewsrcFile ( )


References

This interface is the type of the following properties:

nsIMsgNewsFolder.nntpServer

This interface is passed as an argument to the following methods:

nsINntpService.getListOfGroupsOnServer, nsINntpService.getNewNews, nsINntpService.updateCounts

Reference documentation is generated from Mozilla's source.

Add a note User Contributed Notes
No comments available

Copyright © 1999 - 2005 XULPlanet.com