Apache/2.4.7 (Ubuntu) Linux sman1baleendah 3.13.0-24-generic #46-Ubuntu SMP Thu Apr 10 19:11:08 UTC 2014 x86_64 uid=33(www-data) gid=33(www-data) groups=33(www-data) safemode : OFF MySQL: ON | Perl: ON | cURL: OFF | WGet: ON > / usr / lib / python2.7 / dist-packages / twisted / spread / | server ip : 104.21.89.46 your ip : 172.69.214.217 H O M E |
Filename | /usr/lib/python2.7/dist-packages/twisted/spread/interfaces.py |
Size | 686 |
Permission | rw-r--r-- |
Owner | root : root |
Create time | 27-Apr-2025 09:56 |
Last modified | 03-Apr-2013 01:18 |
Last accessed | 06-Jul-2025 21:49 |
Actions | edit | rename | delete | download (gzip) |
View | text | code | image |
# 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.
"""
# 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.
"""