I am a broker for objects.
|
__init__(self,
isClient=1,
security=globalSecurity) |
|
|
|
resumeProducing(self)
Called when the consumer attached to me runs out of buffer. |
|
|
|
|
|
|
|
registerPageProducer(self,
pager) |
|
|
|
|
|
proto_version(self,
vnum)
Protocol message: (version version-number) |
|
|
|
sendCall(self,
*exp)
Utility method to send an expression to the other side of the
connection. |
|
|
|
|
|
|
|
|
|
|
|
notifyOnDisconnect(self,
notifier)
Call the given callback when the Broker disconnects. |
|
|
|
notifyOnFail(self,
notifier)
Call the given callback if the Broker fails to connect. |
|
|
|
notifyOnConnect(self,
notifier)
Call the given callback when the Broker connects. |
|
|
|
dontNotifyOnDisconnect(self,
notifier)
Remove a callback from list of disconnect callbacks. |
|
|
|
|
|
|
|
setNameForLocal(self,
name,
object)
Store a special (string) ID for this object. |
|
|
|
remoteForName(self,
name)
Returns an object from the remote name mapping. |
|
|
|
cachedRemotelyAs(self,
instance,
incref=0)
Returns an ID that says what this instance is cached as remotely, or
None if it's not. |
|
|
|
remotelyCachedForLUID(self,
luid)
Returns an instance which is cached remotely, with this LUID. |
|
|
|
cacheRemotely(self,
instance)
XXX |
|
|
|
|
|
cachedLocallyAs(self,
cid) |
|
|
|
serialize(self,
object,
perspective=None,
method=None,
args=None,
kw=None)
Jelly an object according to the remote security rules for this
broker. |
|
|
|
unserialize(self,
sexp,
perspective=None)
Unjelly an sexp according to the local security rules for this
broker. |
|
|
|
newLocalID(self)
Generate a new LUID. |
|
|
|
newRequestID(self)
Generate a new request ID. |
|
|
|
proto_message(self,
requestID,
objectID,
message,
answerRequired,
netArgs,
netKw) |
|
|
|
proto_cachemessage(self,
requestID,
objectID,
message,
answerRequired,
netArgs,
netKw) |
|
|
|
proto_answer(self,
requestID,
netResult)
(internal) Got an answer to a previously sent message. |
|
|
|
proto_error(self,
requestID,
fail)
(internal) Deal with an error. |
|
|
|
sendDecRef(self,
objectID)
(internal) Send a DECREF directive. |
|
|
|
proto_decref(self,
objectID)
(internal) Decrement the reference count of an object. |
|
|
|
decCacheRef(self,
objectID)
(internal) Send a DECACHE directive. |
|
|
|
proto_decache(self,
objectID)
(internal) Decrement the reference count of a cached object. |
|
|
|
proto_uncache(self,
objectID)
(internal) Tell the client it is now OK to uncache an object. |
|
|
Inherited from banana.Banana :
callExpressionReceived ,
connectionMade ,
dataReceived ,
gotItem ,
sendEncoded ,
setPrefixLimit
Inherited from internet.protocol.Protocol :
__provides__ ,
logPrefix
Inherited from internet.protocol.BaseProtocol :
__providedBy__ ,
makeConnection
Inherited from persisted.styles.Ephemeral :
__getstate__ ,
__setstate__
|