KUJUNTI.ID MINISH3LL
Path : /lib/python3/dist-packages/twisted/spread/
(S)h3ll Cr3at0r :
F!le Upl0ad :

B-Con CMD Config cPanel C-Rdp D-Log Info Jump Mass Ransom Symlink vHost Zone-H

Current File : //lib/python3/dist-packages/twisted/spread/interfaces.py


# Copyright (c) Twisted Matrix Laboratories.
# See LICENSE for details.

"""
Twisted Spread Interfaces.
"""

from zope.interface import Interface


class IJellyable(Interface):
    def jellyFor(jellier):
        """
        Jelly myself for jellier.
        """


class IUnjellyable(Interface):
    def unjellyFor(jellier, jellyList):
        """
        Unjelly myself for the jellier.

        @param jellier: A stateful object which exists for the lifetime of a
        single call to L{unjelly}.

        @param jellyList: The C{list} which represents the jellied state of the
        object to be unjellied.

        @return: The object which results from unjellying.
        """

© KUJUNTI.ID