class documentation

class FailureReasonXMPPHandler(xmlstream.XMPPHandler): (source)

View In Hierarchy

Dummy handler specifically for failure Reason tests.

Method __init__ Undocumented
Method connectionLost The XML stream has been closed.
Instance Variable gotFailureReason Undocumented

Inherited from XMPPHandler:

Method connectionInitialized The XML stream has been initialized.
Method connectionMade Called after a connection has been established.
Method disownHandlerParent Remove the parent of the handler.
Method makeConnection A connection over the underlying transport of the XML stream has been established.
Method send Send data over the managed XML stream.
Method setHandlerParent Set the parent of the handler.
Instance Variable parent XML stream manager for this handler
Instance Variable xmlstream The managed XML stream
def connectionLost(self, reason): (source)

The XML stream has been closed.

This method can be extended to inspect the reason argument and act on it.

gotFailureReason: bool = (source)

Undocumented