Module Expr Str TryExcept body ImportFrom alias Assign NameStore NameLoad handlers ExceptHandler type NameLoad body Import alias identifier Assign NameStore AttributeLoad NameLoad attr Import alias ImportFrom alias ImportFrom alias alias ImportFrom alias ImportFrom alias alias ImportFrom alias alias alias alias ImportFrom alias ImportFrom alias alias Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Assign NameStore Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad Str attr ListLoad NameLoad NameLoad NameLoad Assign NameStore Call AttributeLoad NameLoad attr NameLoad NameLoad keyword NameLoad Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body TryExcept body Expr Call NameLoad NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call AttributeLoad NameLoad attr NameLoad ExceptHandler body Expr Call AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad NameLoad attr NameLoad decorator_list Return NameLoad decorator_list ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Str NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign TupleStore NameStore NameStore Call AttributeLoad NameLoad attr NameLoad If BoolOpAnd UnaryOpNot AttributeLoad NameLoad attr UnaryOpNot AttributeLoad NameLoad attr body Assign NameStore Num Return TupleLoad NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Pass decorator_list ClassDef bases NameLoad body Expr Str Expr Call NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareEq SubscriptLoad NameLoad Index Str Str body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Expr Call NameLoad AttributeLoad NameLoad attr Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad AttributeLoad NameLoad attr Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Assign SubscriptStore NameLoad Index Str AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr If CompareNotEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad orelse If CompareNotEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad orelse If CompareNotEq SubscriptLoad NameLoad Index Str AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad orelse If CompareEq SubscriptLoad NameLoad Index Str Str body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr Call NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict AttributeLoad NameLoad attr NameLoad Str Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Assign NameStore Call NameLoad NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr ListLoad NameLoad decorator_list decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Str FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Str If AttributeLoad AttributeLoad NameLoad attr attr body Assign NameStore AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr orelse Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr FunctionDef arguments args NameParam defaults body Assign AttributeStore AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Assign AttributeStore AttributeLoad NameLoad attr attr Dict AttributeLoad NameLoad attr NameLoad Str Str If NameLoad body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad decorator_list TryExcept body If BoolOpOr CompareNotEq AttributeLoad NameLoad attr AttributeLoad NameLoad attr CompareNotEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr CompareNotIn TupleLoad Str NameLoad Call AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str If BoolOpAnd NameLoad CompareNotIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str handlers ExceptHandler type AttributeLoad NameLoad attr name NameStore body Expr Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad Return Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad Call NameLoad AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr BinOpMod Str NameLoad AttributeLoad NameLoad attr Expr Call NameLoad NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr If CompareGtE AttributeLoad AttributeLoad NameLoad attr attr TupleLoad Num Num body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad AttributeLoad NameLoad attr Str Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body TryExcept body Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str attr handlers ExceptHandler type TupleLoad NameLoad AttributeLoad NameLoad attr body Raise Call AttributeLoad NameLoad attr Str If CompareNotIn NameLoad AttributeLoad AttributeLoad NameLoad attr attr body Raise Call AttributeLoad NameLoad attr Str If BoolOpAnd AttributeLoad AttributeLoad NameLoad attr attr CompareNotEq NameLoad AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr body Raise Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad NameLoad Assign NameStore BoolOpOr BoolOpAnd CompareEq NameLoad NameLoad Str Str Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad NameLoad attr TupleLoad NameLoad Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str SubscriptLoad NameLoad Index Str Assign SubscriptStore NameLoad Index Str NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call NameLoad Str If UnaryOpNot AttributeLoad AttributeLoad NameLoad attr attr body Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore AttributeLoad NameLoad attr attr Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad Str decorator_list Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore SubscriptLoad NameLoad Index Str Assign NameStore Call NameLoad NameLoad Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad AttributeLoad AttributeLoad NameLoad attr attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Return NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad decorator_list decorator_list FunctionDef arguments args NameParam defaults body Assign NameStore Call AttributeLoad AttributeLoad AttributeLoad NameLoad attr attr attr Str Assign NameStore Call NameLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr Return AttributeLoad NameLoad attr decorator_list ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad FunctionDef arguments args defaults body Return Call NameLoad NameLoad decorator_list Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr Num decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr AugAssignAdd AttributeStore NameLoad attr Num FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad decorator_list If AttributeLoad NameLoad attr body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num NameLoad Expr Call AttributeLoad NameLoad attr Str AttributeLoad NameLoad attr Num NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Call AttributeLoad NameLoad attr NameLoad Str decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str If AttributeLoad NameLoad attr body Return orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad NameLoad decorator_list decorator_list ClassDef bases NameLoad body Expr Str Assign NameStore NameLoad FunctionDef arguments args NameParam NameParam NameParam NameParam defaults NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr NameLoad Assign AttributeStore NameLoad attr Call NameLoad If AttributeLoad NameLoad attr body Expr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr If CompareIsNot NameLoad NameLoad body Assign AttributeStore NameLoad attr NameLoad orelse Assign AttributeStore NameLoad attr Call AttributeLoad Call AttributeLoad NameLoad attr Num attr Str Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Dict Assign AttributeStore NameLoad attr Call NameLoad Assign AttributeStore NameLoad attr Num Assign NameStore Call NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr Str AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Lambda arguments args NameParam defaults Call AttributeLoad NameLoad attr NameLoad If CompareIn TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr body For NameStore SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad body Expr Call AttributeLoad NameLoad attr NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Assign NameStore AttributeLoad AttributeLoad NameLoad attr attr Expr Call AttributeLoad NameLoad attr BinOpMod Str TupleLoad AttributeLoad NameLoad attr NameLoad NameLoad Delete SubscriptDel AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad decorator_list If CompareIn TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr body Return Assign NameStore Call NameLoad NameLoad NameLoad AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr AttributeLoad NameLoad attr Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Expr Call AttributeLoad AttributeLoad NameLoad attr attr TupleLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam NameParam NameParam defaults body Expr Str FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Expr Call AttributeLoad AttributeLoad NameLoad attr attr decorator_list Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad decorator_list Assign NameStore Call NameLoad NameLoad NameLoad NameLoad NameLoad Assign NameStore Call NameLoad NameLoad Expr Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr AttributeLoad NameLoad attr Assign NameStore Call NameLoad NameLoad Return NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Expr Str Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str attr Assign NameStore AttributeLoad Call AttributeLoad NameLoad attr SubscriptLoad NameLoad Index Str attr If CompareNotIn TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr body If CompareNotIn TupleLoad NameLoad NameLoad AttributeLoad NameLoad attr body Assign SubscriptStore AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad ListLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad NameLoad orelse Expr Call AttributeLoad SubscriptLoad AttributeLoad NameLoad attr Index TupleLoad NameLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Str Assign NameStore Call AttributeLoad NameLoad attr Str If BoolOpOr UnaryOpNot NameLoad UnaryOpNot NameLoad body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str orelse TryExcept body Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type AttributeLoad NameLoad attr body Expr Call AttributeLoad NameLoad attr Str If CompareNotEq AttributeLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr body Expr Call AttributeLoad NameLoad attr Call AttributeLoad NameLoad attr Str orelse Expr Call AttributeLoad AttributeLoad NameLoad attr attr NameLoad decorator_list decorator_list
N/A N/A 
XMPP Server-to-Server protocol.

This module implements several aspects of XMPP server-to-server communications
as described in XMPP Core (RFC 3920). Refer to that document for the meaning
of the used terminology.
 N/A N/A hashlib sha256 N/A digestmod sha256 N/A N/A N/A ImportError N/A N/A Crypto.Hash.SHA256 digestmod N/A sha256 N/A digestmod new N/A hmac zope.interface implements twisted.internet defer reactor twisted.names.srvconnect SRVConnector twisted.python log randbytes twisted.words.protocols.jabber error ijabber jid xmlstream twisted.words.xish domish wokkel.generic DeferredXmlStreamFactory XmlPipe N/A NS_DIALBACK jabber:server:dialback generateKey N/A N/A secret receivingServer originatingServer streamID N/A N/A N/A 
    Generate a dialback key for server-to-server XMPP Streams.

    The dialback key is generated using the algorithm described in
    U{XEP-0185<http://xmpp.org/extensions/xep-0185.html>}. The used
    terminology for the parameters is described in RFC-3920.

    @param secret: the shared secret known to the Originating Server and
                   Authoritive Server.
    @type secret: C{str}
    @param receivingServer: the Receiving Server host name.
    @type receivingServer: C{str}
    @param originatingServer: the Originating Server host name.
    @type originatingServer: C{str}
    @param streamID: the Stream ID as generated by the Receiving Server.
    @type streamID: C{str}
    @return: hexadecimal digest of the generated key.
    @type: C{str}
     N/A hashObject N/A sha256 N/A N/A N/A hashObject update secret N/A hashedSecret N/A N/A hashObject hexdigest N/A message N/A N/A join N/A receivingServer originatingServer streamID N/A hash N/A N/A hmac HMAC hashedSecret message digestmod digestmod N/A N/A N/A hash hexdigest N/A trapStreamError N/A N/A xs observer N/A N/A N/A 
    Trap stream errors.

    This wraps an observer to catch exceptions. In case of a
    L{error.StreamError}, it is send over the given XML stream. All other
    exceptions yield a C{'internal-server-error'} stream error, that is
    sent over the stream, while the exception is logged.

    @return: Wrapped observer
     wrappedObserver N/A N/A element N/A N/A N/A N/A N/A N/A observer element N/A N/A N/A N/A error StreamError N/A exc N/A N/A N/A N/A xs sendStreamError exc N/A N/A N/A N/A N/A log err N/A exc N/A N/A error StreamError internal-server-error N/A N/A N/A xs sendStreamError exc N/A N/A wrappedObserver N/A XMPPServerConnector N/A SRVConnector N/A __init__ N/A N/A self reactor domain factory N/A N/A N/A N/A N/A SRVConnector __init__ self reactor xmpp-server domain factory N/A pickServer N/A N/A self N/A N/A N/A N/A host port N/A N/A SRVConnector pickServer self N/A N/A N/A N/A self servers N/A N/A self orderedServers N/A N/A port 5269 N/A N/A host port N/A N/A DialbackFailed N/A Exception N/A N/A N/A OriginatingDialbackInitializer N/A object N/A N/A 
    Server Dialback Initializer for the Orginating Server.
     N/A N/A implements N/A ijabber IInitiatingInitializer N/A _deferred None __init__ N/A N/A self xs thisHost otherHost secret N/A N/A N/A N/A self xmlstream xs N/A N/A self thisHost thisHost N/A N/A self otherHost otherHost N/A N/A self secret secret N/A initialize N/A N/A self N/A N/A N/A N/A self _deferred N/A N/A defer Deferred N/A N/A N/A N/A self xmlstream addObserver N/A xmlstream STREAM_ERROR_EVENT N/A self onStreamError N/A N/A N/A N/A self xmlstream addObserver N/A /result[@xmlns='%s'] NS_DIALBACK N/A self onResult N/A key N/A generateKey N/A self secret N/A self otherHost N/A self thisHost N/A N/A self xmlstream sid N/A result N/A N/A domish Element N/A NS_DIALBACK result N/A N/A result N/A from N/A self thisHost N/A N/A result N/A to N/A self otherHost N/A N/A N/A result addContent key N/A N/A N/A N/A self xmlstream send result N/A N/A self _deferred N/A onResult N/A N/A self result N/A N/A N/A N/A N/A N/A self xmlstream removeObserver N/A xmlstream STREAM_ERROR_EVENT N/A self onStreamError N/A N/A N/A result N/A type valid N/A N/A N/A N/A self xmlstream otherEntity N/A N/A jid internJID N/A self otherHost N/A N/A N/A N/A self _deferred callback None N/A N/A N/A N/A N/A self _deferred errback N/A DialbackFailed N/A onStreamError N/A N/A self failure N/A N/A N/A N/A N/A N/A self xmlstream removeObserver N/A /result[@xmlns='%s'] NS_DIALBACK N/A self onResult N/A N/A N/A N/A self _deferred errback failure N/A N/A ReceivingDialbackInitializer N/A object N/A N/A 
    Server Dialback Initializer for the Receiving Server.
     N/A N/A implements N/A ijabber IInitiatingInitializer N/A _deferred None __init__ N/A N/A self xs thisHost otherHost originalStreamID key N/A N/A N/A N/A self xmlstream xs N/A N/A self thisHost thisHost N/A N/A self otherHost otherHost N/A N/A self originalStreamID originalStreamID N/A N/A self key key N/A initialize N/A N/A self N/A N/A N/A N/A self _deferred N/A N/A defer Deferred N/A N/A N/A N/A self xmlstream addObserver N/A xmlstream STREAM_ERROR_EVENT N/A self onStreamError N/A N/A N/A N/A self xmlstream addObserver N/A /verify[@xmlns='%s'] NS_DIALBACK N/A self onVerify N/A verify N/A N/A domish Element N/A NS_DIALBACK verify N/A N/A verify N/A from N/A self thisHost N/A N/A verify N/A to N/A self otherHost N/A N/A verify N/A id N/A self originalStreamID N/A N/A N/A verify addContent N/A self key N/A N/A N/A N/A self xmlstream send verify N/A N/A self _deferred N/A onVerify N/A N/A self verify N/A N/A N/A N/A N/A N/A self xmlstream removeObserver N/A xmlstream STREAM_ERROR_EVENT N/A self onStreamError N/A N/A N/A verify N/A id N/A self originalStreamID N/A N/A N/A N/A N/A self xmlstream sendStreamError N/A N/A error StreamError invalid-id N/A N/A N/A N/A self _deferred errback N/A DialbackFailed N/A N/A N/A N/A verify N/A to N/A self thisHost N/A N/A N/A N/A N/A self xmlstream sendStreamError N/A N/A error StreamError host-unknown N/A N/A N/A N/A self _deferred errback N/A DialbackFailed N/A N/A N/A N/A verify N/A from N/A self otherHost N/A N/A N/A N/A N/A self xmlstream sendStreamError N/A N/A error StreamError invalid-from N/A N/A N/A N/A self _deferred errback N/A DialbackFailed N/A N/A N/A N/A verify N/A type valid N/A N/A N/A N/A N/A self _deferred callback None N/A N/A N/A N/A N/A self _deferred errback N/A DialbackFailed N/A onStreamError N/A N/A self failure N/A N/A N/A N/A N/A N/A self xmlstream removeObserver N/A /verify[@xmlns='%s'] NS_DIALBACK N/A self onVerify N/A N/A N/A N/A self _deferred errback failure N/A N/A XMPPServerConnectAuthenticator N/A N/A xmlstream ConnectAuthenticator N/A N/A 
    Authenticator for an outgoing XMPP server-to-server connection.

    This authenticator connects to C{otherHost} (the Receiving Server) and then
    initiates dialback as C{thisHost} (the Originating Server) using
    L{OriginatingDialbackInitializer}.

    @ivar thisHost: The domain this server connects from (the Originating
                    Server) .
    @ivar otherHost: The domain of the server this server connects to (the
                     Receiving Server).
    @ivar secret: The shared secret that is used for verifying the validity
                  of this new connection.
     N/A namespace jabber:server __init__ N/A N/A self thisHost otherHost secret N/A N/A N/A N/A self thisHost thisHost N/A N/A self otherHost otherHost N/A N/A self secret secret N/A N/A N/A N/A xmlstream ConnectAuthenticator __init__ self otherHost N/A connectionMade N/A N/A self N/A N/A N/A N/A N/A self xmlstream thisEntity N/A N/A jid internJID N/A self thisHost N/A N/A N/A self xmlstream prefixes N/A N/A xmlstream NS_STREAMS NS_DIALBACK stream db N/A N/A N/A N/A xmlstream ConnectAuthenticator connectionMade self N/A associateWithStream N/A N/A self xs N/A N/A N/A N/A N/A N/A xmlstream ConnectAuthenticator associateWithStream self xs N/A init N/A OriginatingDialbackInitializer xs N/A self thisHost N/A self otherHost N/A self secret N/A N/A xs initializers N/A init N/A N/A XMPPServerVerifyAuthenticator N/A N/A xmlstream ConnectAuthenticator N/A N/A 
    Authenticator for an outgoing connection to verify an incoming connection.

    This authenticator connects to C{otherHost} (the Authoritative Server) and
    then initiates dialback as C{thisHost} (the Receiving Server) using
    L{ReceivingDialbackInitializer}.

    @ivar thisHost: The domain this server connects from (the Receiving
                    Server) .
    @ivar otherHost: The domain of the server this server connects to (the
                     Authoritative Server).
    @ivar originalStreamID: The stream ID of the incoming connection that is
                            being verified.
    @ivar key: The key provided by the Receving Server to be verified.
     N/A namespace jabber:server __init__ N/A N/A self thisHost otherHost originalStreamID key N/A N/A N/A N/A self thisHost thisHost N/A N/A self otherHost otherHost N/A N/A self originalStreamID originalStreamID N/A N/A self key key N/A N/A N/A N/A xmlstream ConnectAuthenticator __init__ self otherHost N/A connectionMade N/A N/A self N/A N/A N/A N/A N/A self xmlstream thisEntity N/A N/A jid internJID N/A self thisHost N/A N/A N/A self xmlstream prefixes N/A N/A xmlstream NS_STREAMS NS_DIALBACK stream db N/A N/A N/A N/A xmlstream ConnectAuthenticator connectionMade self N/A associateWithStream N/A N/A self xs N/A N/A N/A N/A N/A N/A xmlstream ConnectAuthenticator associateWithStream self xs N/A init N/A ReceivingDialbackInitializer xs N/A self thisHost N/A self otherHost N/A self originalStreamID N/A self key N/A N/A xs initializers N/A init N/A N/A XMPPServerListenAuthenticator N/A N/A xmlstream ListenAuthenticator N/A N/A 
    Authenticator for an incoming XMPP server-to-server connection.

    This authenticator handles two types of incoming connections. Regular
    server-to-server connections are from the Originating Server to the
    Receiving Server, where this server is the Receiving Server. These
    connections start out by receiving a dialback key, verifying the
    key with the Authoritative Server, and then accept normal XMPP stanzas.

    The other type of connections is from a Receiving Server to an
    Authoritative Server, where this server acts as the Authoritative Server.
    These connections are used to verify the validity of an outgoing connection
    from this server. In this case, this server receives a verification
    request, checks the key and then returns the result.

    @ivar service: The service that keeps the list of domains we accept
                   connections for.
     N/A namespace jabber:server __init__ N/A N/A self service N/A N/A N/A N/A N/A N/A xmlstream ListenAuthenticator __init__ self N/A N/A self service service N/A streamStarted N/A N/A self rootElement N/A N/A N/A N/A N/A N/A xmlstream ListenAuthenticator streamStarted self rootElement N/A N/A N/A N/A self xmlstream sid N/A N/A N/A N/A self xmlstream sid N/A N/A N/A N/A randbytes secureRandom 8 encode hex N/A N/A N/A self xmlstream thisEntity N/A N/A targetDomain N/A N/A N/A self xmlstream thisEntity host N/A N/A targetDomain N/A N/A self service defaultDomain prepareStream N/A N/A domain N/A N/A N/A N/A N/A self xmlstream namespace N/A self namespace N/A N/A N/A self xmlstream prefixes N/A N/A xmlstream NS_STREAMS NS_DIALBACK stream db N/A domain N/A N/A N/A N/A self xmlstream thisEntity N/A N/A jid internJID domain N/A N/A N/A N/A N/A N/A N/A xmlstream NS_STREAMS N/A rootElement uri N/A N/A self namespace N/A N/A self xmlstream namespace N/A N/A db NS_DIALBACK N/A N/A N/A rootElement localPrefixes iteritems N/A N/A N/A N/A error StreamError invalid-namespace N/A N/A targetDomain N/A targetDomain N/A N/A self service domains N/A N/A N/A N/A error StreamError host-unknown N/A N/A N/A N/A error StreamError N/A exc N/A N/A N/A prepareStream N/A N/A self service defaultDomain N/A N/A N/A N/A self xmlstream sendStreamError exc N/A N/A N/A N/A N/A self xmlstream addObserver N/A //verify[@xmlns='%s'] NS_DIALBACK N/A trapStreamError N/A self xmlstream N/A self onVerify N/A N/A N/A N/A self xmlstream addObserver N/A //result[@xmlns='%s'] NS_DIALBACK N/A self onResult N/A N/A prepareStream targetDomain N/A N/A N/A N/A self xmlstream sendHeader N/A N/A N/A N/A self xmlstream version N/A 1 0 N/A N/A features N/A N/A domish Element N/A N/A xmlstream NS_STREAMS features N/A N/A N/A N/A self xmlstream send features N/A onVerify N/A N/A self verify N/A N/A N/A N/A N/A receivingServer N/A N/A N/A jid JID N/A verify N/A from host N/A originatingServer N/A N/A N/A jid JID N/A verify N/A to host N/A N/A N/A N/A KeyError N/A jid InvalidFormat N/A N/A N/A N/A error StreamError improper-addressing N/A N/A originatingServer N/A N/A self service domains N/A N/A N/A N/A error StreamError host-unknown N/A N/A N/A N/A self xmlstream otherEntity N/A receivingServer N/A N/A N/A self xmlstream otherEntity host N/A N/A N/A N/A error StreamError invalid-from N/A streamID N/A N/A verify getAttribute id N/A key N/A unicode verify N/A calculatedKey N/A generateKey N/A N/A self service secret receivingServer originatingServer streamID N/A validity N/A N/A N/A key calculatedKey valid invalid N/A reply N/A N/A domish Element N/A NS_DIALBACK verify N/A N/A reply N/A from originatingServer N/A N/A reply N/A to receivingServer N/A N/A reply N/A id streamID N/A N/A reply N/A type validity N/A N/A N/A N/A self xmlstream send reply N/A onResult N/A N/A self result N/A N/A reply N/A N/A validity N/A N/A N/A reply N/A N/A domish Element N/A NS_DIALBACK result N/A N/A reply N/A from N/A result N/A to N/A N/A reply N/A to N/A result N/A from N/A N/A reply N/A type validity N/A N/A N/A N/A self xmlstream send reply N/A valid N/A N/A xs N/A N/A N/A N/A reply valid N/A N/A N/A N/A self xmlstream thisEntity N/A N/A N/A N/A self xmlstream thisEntity N/A N/A jid internJID receivingServer N/A N/A N/A self xmlstream otherEntity N/A N/A jid internJID originatingServer N/A N/A N/A N/A self xmlstream dispatch N/A self xmlstream N/A xmlstream STREAM_AUTHD_EVENT N/A invalid N/A N/A failure N/A N/A N/A N/A N/A log err failure N/A N/A reply invalid N/A N/A receivingServer N/A result N/A to N/A originatingServer N/A result N/A from N/A key N/A unicode result N/A d N/A N/A N/A self service validateConnection receivingServer originatingServer N/A N/A self xmlstream sid key N/A N/A N/A d addCallbacks valid invalid N/A d N/A N/A DeferredS2SClientFactory N/A DeferredXmlStreamFactory N/A N/A 
    Deferred firing factory for initiating XMPP server-to-server connection.

    The deferred has its callbacks called upon succesful authentication with
    the other server. In case of failed authentication or connection, the
    deferred will have its errbacks called instead.
     N/A logTraffic False __init__ N/A N/A self authenticator N/A N/A N/A N/A N/A DeferredXmlStreamFactory __init__ self authenticator N/A N/A N/A self addBootstrap N/A xmlstream STREAM_CONNECTED_EVENT N/A self onConnectionMade N/A N/A self serial 0 N/A onConnectionMade N/A N/A self xs N/A N/A N/A N/A xs serial N/A self serial N/A N/A self serial 1 logDataIn N/A N/A buf N/A N/A N/A N/A N/A log msg N/A RECV (%d): %r N/A N/A xs serial buf N/A logDataOut N/A N/A buf N/A N/A N/A N/A N/A log msg N/A SEND (%d): %r N/A N/A xs serial buf N/A N/A N/A self logTraffic N/A N/A N/A xs rawDataInFn logDataIn N/A N/A xs rawDataOutFn logDataOut N/A N/A initiateS2S N/A N/A factory N/A N/A N/A domain N/A N/A N/A N/A factory authenticator otherHost encode idna N/A c N/A XMPPServerConnector reactor domain factory N/A N/A N/A c connect N/A N/A factory deferred N/A XMPPS2SServerFactory N/A N/A xmlstream XmlStreamServerFactory N/A N/A 
    XMPP Server-to-Server Server factory.

    This factory accepts XMPP server-to-server connections.
     N/A logTraffic False __init__ N/A N/A self service N/A N/A N/A N/A self service service authenticatorFactory N/A N/A N/A N/A N/A N/A XMPPServerListenAuthenticator service N/A N/A N/A N/A N/A xmlstream XmlStreamServerFactory __init__ self authenticatorFactory N/A N/A N/A self addBootstrap N/A xmlstream STREAM_CONNECTED_EVENT N/A self onConnectionMade N/A N/A N/A self addBootstrap N/A xmlstream STREAM_AUTHD_EVENT N/A self onAuthenticated N/A N/A self serial 0 N/A onConnectionMade N/A N/A self xs N/A N/A N/A 
        Called when a server-to-server connection was made.

        This enables traffic debugging on incoming streams.
         N/A N/A xs serial N/A self serial N/A N/A self serial 1 logDataIn N/A N/A buf N/A N/A N/A N/A N/A log msg N/A RECV (%d): %r N/A N/A xs serial buf N/A logDataOut N/A N/A buf N/A N/A N/A N/A N/A log msg N/A SEND (%d): %r N/A N/A xs serial buf N/A N/A N/A self logTraffic N/A N/A N/A xs rawDataInFn logDataIn N/A N/A xs rawDataOutFn logDataOut N/A N/A N/A xs addObserver N/A xmlstream STREAM_ERROR_EVENT N/A self onError N/A onAuthenticated N/A N/A self xs N/A N/A N/A thisHost N/A N/A xs thisEntity host N/A otherHost N/A N/A xs otherEntity host N/A N/A N/A log msg N/A Incoming connection %d from %r to %r established N/A N/A xs serial otherHost thisHost N/A N/A N/A xs addObserver N/A xmlstream STREAM_END_EVENT N/A self onConnectionLost 0 xs N/A N/A N/A xs addObserver /* N/A self onElement 0 xs N/A onConnectionLost N/A N/A self xs reason N/A N/A N/A thisHost N/A N/A xs thisEntity host N/A otherHost N/A N/A xs otherEntity host N/A N/A N/A log msg N/A Incoming connection %d from %r to %r disconnected N/A N/A xs serial otherHost thisHost N/A onError N/A N/A self reason N/A N/A N/A N/A N/A log err reason Stream Error N/A onElement N/A N/A self xs element N/A N/A N/A 
        Called when an element was received from one of the connected streams.

         N/A N/A element handled N/A N/A N/A N/A N/A N/A N/A self service dispatch xs element N/A N/A ServerService N/A object N/A N/A 
    Service for managing XMPP server to server connections.
     N/A logTraffic False __init__ N/A N/A self router domain secret N/A None None N/A N/A N/A self router router N/A N/A self defaultDomain domain N/A N/A self domains N/A set N/A N/A self defaultDomain N/A N/A N/A N/A N/A self domains add N/A self defaultDomain N/A N/A secret None N/A N/A N/A self secret secret N/A N/A N/A self secret N/A N/A N/A N/A randbytes secureRandom 16 encode hex N/A N/A self _outgoingStreams N/A N/A N/A self _outgoingQueues N/A N/A N/A self _outgoingConnecting N/A set N/A N/A self serial 0 N/A pipe N/A XmlPipe N/A N/A self xmlstream N/A pipe source N/A N/A N/A N/A self router addRoute None N/A pipe sink N/A N/A N/A N/A self xmlstream addObserver /* N/A self send N/A outgoingInitialized N/A N/A self xs N/A N/A N/A thisHost N/A N/A xs thisEntity host N/A otherHost N/A N/A xs otherEntity host N/A N/A N/A log msg N/A Outgoing connection %d from %r to %r established N/A N/A xs serial thisHost otherHost N/A N/A N/A self _outgoingStreams N/A N/A thisHost otherHost xs N/A N/A N/A xs addObserver N/A xmlstream STREAM_END_EVENT N/A N/A N/A _ N/A N/A N/A self outgoingDisconnected xs N/A N/A N/A thisHost otherHost N/A self _outgoingQueues N/A N/A element N/A N/A self _outgoingQueues N/A N/A thisHost otherHost N/A N/A N/A N/A xs send element N/A N/A N/A self _outgoingQueues N/A N/A thisHost otherHost N/A outgoingDisconnected N/A N/A self xs N/A N/A N/A thisHost N/A N/A xs thisEntity host N/A otherHost N/A N/A xs otherEntity host N/A N/A N/A log msg N/A Outgoing connection %d from %r to %r disconnected N/A N/A xs serial thisHost otherHost N/A N/A N/A self _outgoingStreams N/A N/A thisHost otherHost N/A initiateOutgoingStream N/A N/A self thisHost otherHost N/A N/A N/A 
        Initiate an outgoing XMPP server-to-server connection.
         resetConnecting N/A N/A _ N/A N/A N/A N/A N/A N/A self _outgoingConnecting remove N/A thisHost otherHost N/A N/A N/A N/A thisHost otherHost N/A self _outgoingConnecting N/A N/A N/A authenticator N/A XMPPServerConnectAuthenticator thisHost otherHost N/A self secret N/A factory N/A DeferredS2SClientFactory authenticator N/A N/A N/A factory addBootstrap N/A xmlstream STREAM_AUTHD_EVENT N/A self outgoingInitialized N/A N/A factory logTraffic N/A self logTraffic N/A N/A N/A N/A self _outgoingConnecting add N/A thisHost otherHost N/A d N/A initiateS2S factory N/A N/A N/A d addBoth resetConnecting N/A d N/A validateConnection N/A N/A self thisHost otherHost sid key N/A N/A N/A 
        Validate an incoming XMPP server-to-server connection.
         connected N/A N/A xs N/A N/A disconnect N/A N/A _ N/A N/A N/A N/A N/A N/A xs transport loseConnection N/A N/A N/A N/A xs addObserver N/A xmlstream STREAM_AUTHD_EVENT disconnect N/A N/A N/A xs addObserver N/A xmlstream INIT_FAILED_EVENT disconnect N/A N/A authenticator N/A XMPPServerVerifyAuthenticator thisHost otherHost sid key N/A factory N/A DeferredS2SClientFactory authenticator N/A N/A N/A factory addBootstrap N/A xmlstream STREAM_CONNECTED_EVENT connected N/A N/A factory logTraffic N/A self logTraffic N/A d N/A initiateS2S factory N/A d N/A send N/A N/A self stanza N/A N/A N/A 
        Send stanza to the proper XML Stream.

        This uses addressing embedded in the stanza to find the correct stream
        to forward the stanza to.
         N/A otherHost N/A N/A N/A jid internJID N/A stanza N/A to host N/A thisHost N/A N/A N/A jid internJID N/A stanza N/A from host N/A N/A N/A thisHost otherHost N/A self _outgoingStreams N/A N/A N/A N/A thisHost otherHost N/A self _outgoingQueues N/A N/A N/A N/A self _outgoingQueues N/A N/A thisHost otherHost N/A N/A N/A N/A N/A N/A self _outgoingQueues N/A N/A thisHost otherHost append stanza N/A N/A N/A self initiateOutgoingStream thisHost otherHost N/A N/A N/A N/A N/A N/A self _outgoingStreams N/A N/A thisHost otherHost send stanza N/A dispatch N/A N/A self xs stanza N/A N/A N/A 
        Send on element to be routed within the server.
         N/A stanzaFrom N/A N/A stanza getAttribute from N/A stanzaTo N/A N/A stanza getAttribute to N/A N/A N/A stanzaFrom N/A stanzaTo N/A N/A N/A N/A xs sendStreamError N/A N/A error StreamError improper-addressing N/A N/A N/A N/A sender N/A N/A jid internJID stanzaFrom N/A N/A N/A jid internJID stanzaTo N/A N/A N/A N/A jid InvalidFormat N/A N/A N/A N/A log msg Dropping error stanza with malformed JID N/A N/A N/A sender host N/A N/A xs otherEntity host N/A N/A N/A N/A xs sendStreamError N/A N/A error StreamError invalid-from N/A N/A N/A N/A N/A self xmlstream send stanza N/A N/A