Implements interfaces: wokkel.iwokkel.IDisco

Ping responder.

This handler waits for XMPP Ping requests and sends a response.

Method connectionInitialized Called when the XML stream has been initialized.
Method onPing Called when a ping request has been received.
Method getDiscoInfo Get identity and features from this entity, node.
Method getDiscoItems Get contained items for this entity, node.

Inherited from XMPPHandler:

Method __init__ Undocumented
Method setHandlerParent Set the parent of the handler.
Method disownHandlerParent Remove the parent of the handler.
Method makeConnection A connection over the underlying transport of the XML stream has been established.
Method connectionMade Called after a connection has been established.
Method connectionLost The XML stream has been closed.
Method send Send data over the managed XML stream.
def connectionInitialized(self): (source)

Called when the XML stream has been initialized.

This sets up an observer for incoming ping requests.

def onPing(self, iq): (source)

Called when a ping request has been received.

This immediately replies with a result response.

def getDiscoInfo(self, requestor, target, nodeIdentifier=''): (source)

Get identity and features from this entity, node.

This handler supports XMPP Ping, but only without a nodeIdentifier specified.

def getDiscoItems(self, requestor, target, nodeIdentifier=''): (source)

Get contained items for this entity, node.

This handler does not support items.

API Documentation for wokkel, generated by pydoctor at 2018-12-06 14:45:46.