class Referenceable(Serializable): (source)
Known subclasses: twisted.mail.pb.Maildir
, twisted.mail.pb.MaildirCollection
, twisted.spread.pb.AsReferenceable
, twisted.spread.pb.Root
, twisted.spread.pb.ViewPoint
, twisted.spread.util.CallbackPageCollector
, twisted.words.im.pbsupport.TwistedWordsClient
, twisted.words.service.ChatAvatar
, twisted.words.service.PBGroup
, twisted.words.service.PBMind
, twisted.words.service.PBUser
, twisted.spread.pb._PortalAuthChallenger
, twisted.spread.pb._PortalWrapper
, twisted.web.distrib._ReferenceableProducerWrapper
Undocumented
Method | jelly |
(internal) |
Method | remote |
A remote message has been received. Dispatch it appropriately. |
Class Variable | perspective |
I am an object sent remotely as a direct reference. |
Inherited from Serializable
:
Method | process |
Return an ID which uniquely represents this object for this process. |
Inherited from Jellyable
(via Serializable
):
Method | get |
Undocumented |
twisted.spread.pb.Jellyable.jellyFor
twisted.words.service.ChatAvatar
, twisted.words.service.PBGroup
, twisted.words.service.PBMind
(internal)
Return a tuple which will be used as the s-expression to serialize this to a peer.
twisted.spread.pb.ViewPoint
A remote message has been received. Dispatch it appropriately.
The default implementation is to dispatch to a method called 'remote_messagename' and call it with the same arguments.
I am an object sent remotely as a direct reference.
When one of my subclasses is sent as an argument to or returned from a remote method call, I will be serialized by default as a direct reference.
This means that the peer will be able to call methods on me; a method call xxx() from my peer will be resolved to methods of the name remote_xxx.