Table of Contents

Class: RemoteCopy | Twisted-0.17.4/twisted/spread/flavors.py
--- | ---

### I am a remote copy of a Copyable object.

When the state from a Copyable object is received, an instance will be created based on the copy tags table (see setCopierForClass) and sent the setCopyableState message. I provide a reasonable default implementation of that message; subclass me if you wish to serve as a copier for remote data.

NOTE: copiers are invoked with no arguments. Do not implement a constructor which requires args in a subclass of RemoteCopy!

Base Classes |
--- | ---
Unjellyable

Methods |
--- | ---
setCopyableState unjellyFor
| setCopyableState

    setCopyableState ( self,  state )

### I will be invoked with the state to copy locally.

`state` is the data returned from the remote object's `getStateToCopyFor` method, which will often be the remote object's dictionary (or a filtered approximation of it depending on my peer's perspective).

| unjellyFor

    unjellyFor (
            self,
            unjellier,
            jellyList,
            )

Table of Contents

This document was automatically generated on Sat Apr 20 01:31:32 2002 by HappyDoc version 2.0