A client that connects to an NNTP server and asks for articles new since a certain time.

Method __init__ No summary
Method connectionMade Called when a connection is made.
Method articleExists Undocumented
Method gotNewNews Override for notification when getNewNews() action is successful
Method getNewNewsFailed Override for notification when getNewNews() action fails
Method gotArticle Override for notification when fetchArticle() action is completed

Inherited from _PauseableMixin (via NNTPClient, LineReceiver):

Method pauseProducing Undocumented
Method resumeProducing Undocumented
Method stopProducing Undocumented

Inherited from _PauseableMixin (via NNTPClient, LineReceiver):

Method pauseProducing Undocumented
Method resumeProducing Undocumented
Method stopProducing Undocumented

Inherited from _PauseableMixin (via NNTPClient, LineReceiver):

Method pauseProducing Undocumented
Method resumeProducing Undocumented
Method stopProducing Undocumented

Inherited from _PauseableMixin (via NNTPClient, LineReceiver):

Method pauseProducing Undocumented
Method resumeProducing Undocumented
Method stopProducing Undocumented

Inherited from _PauseableMixin (via NNTPClient, LineReceiver):

Method pauseProducing Undocumented
Method resumeProducing Undocumented
Method stopProducing Undocumented
def __init__(self, groups, date, storage): (source)

Fetch all new articles from the given groups since the given date and dump them into the given storage. groups is a list of group names. date is an integer or floating point representing seconds since the epoch (GMT). storage is any object that implements the NewsStorage interface.

def connectionMade(self): (source)

Called when a connection is made.

This may be considered the initializer of the protocol, because it is called when the connection is completed. For clients, this is called once the connection to the server has been established; for servers, this is called after an accept() call stops blocking and a socket has been received. If you need to send any greeting or initial message, do it here.

def articleExists(self, exists, article): (source)
Undocumented
def gotNewNews(self, news): (source)

Override for notification when getNewNews() action is successful

def getNewNewsFailed(self, reason): (source)

Override for notification when getNewNews() action fails

def gotArticle(self, article): (source)

Override for notification when fetchArticle() action is completed

API Documentation for Twisted, generated by pydoctor at 2015-11-29 11:40:45.