class documentation

class Listener: (source)

View In Hierarchy

Listener is an object that can be added to a IReactorWin32Events reactor to receive callback notification when a Windows event is set. It records what thread its callback is invoked in and fires a Deferred.

Method __init__ Undocumented
Method brokenOccurred Undocumented
Method connectionLost Undocumented
Method logPrefix Undocumented
Method occurred Undocumented
Method returnValueOccurred Undocumented
Instance Variable connLostThreadID The id of the thread in which the connectionLost method is called.
Instance Variable eventThreadID The id of the thread in which the event callback is called.
Instance Variable logThreadID The id of the thread in which the logPrefix method is called.
Instance Variable success A flag which is set to True when the event callback is called.
Instance Variable _finished The Deferred which will be fired when the event callback is called.
def __init__(self, finished): (source)

Undocumented

def brokenOccurred(self): (source)

Undocumented

def connectionLost(self, reason): (source)

Undocumented

def logPrefix(self): (source)

Undocumented

def occurred(self): (source)

Undocumented

def returnValueOccurred(self): (source)

Undocumented

connLostThreadID = (source)

The id of the thread in which the connectionLost method is called.

eventThreadID = (source)

The id of the thread in which the event callback is called.

logThreadID = (source)

The id of the thread in which the logPrefix method is called.

A flag which is set to True when the event callback is called.

_finished = (source)

The Deferred which will be fired when the event callback is called.