class documentation

class Referenceable(Serializable): (source)

Known subclasses: twisted.mail.pb.Maildir, twisted.mail.pb.MaildirCollection, twisted.spread.pb._PortalAuthChallenger, twisted.spread.pb._PortalWrapper, twisted.spread.pb.AsReferenceable, twisted.spread.pb.Root, twisted.spread.pb.ViewPoint, twisted.spread.util.CallbackPageCollector, twisted.web.distrib._ReferenceableProducerWrapper, twisted.words.im.pbsupport.TwistedWordsClient, twisted.words.service.ChatAvatar, twisted.words.service.PBGroup, twisted.words.service.PBMind, twisted.words.service.PBUser

View In Hierarchy

Undocumented

Class Variable perspective I am an object sent remotely as a direct reference.
Method remoteMessageReceived A remote message has been received. Dispatch it appropriately.
Method jellyFor (internal)

Inherited from Serializable:

Method processUniqueID Return an ID which uniquely represents this object for this process.

Inherited from Jellyable (via Serializable):

Method getStateFor Undocumented
perspective = (source)

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.

def remoteMessageReceived(self, broker, message, args, kw): (source)

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.

def jellyFor(self, jellier): (source)

(internal)

Return a tuple which will be used as the s-expression to serialize this to a peer.

API Documentation for Twisted, generated by pydoctor 21.2.0 at 2021-02-28 21:00:42.