getIncomingStanzaHandlers method
override
Return the StanzaHandlers associated with this manager that deal with stanzas we receive. The higher the value of the handler's priority, the earlier it is run.
Implementation
@override
List<StanzaHandler> getIncomingStanzaHandlers() => [
StanzaHandler(
tagName: 'query',
tagXmlns: discoInfoXmlns,
stanzaTag: 'iq',
callback: _onDiscoInfoRequest,
),
StanzaHandler(
tagName: 'query',
tagXmlns: discoItemsXmlns,
stanzaTag: 'iq',
callback: _onDiscoItemsRequest,
),
];