t.m.s.Perspective(pb.Avatar) : class documentation

Part of twisted.manhole.service View Source View In Hierarchy

No class docstring
Method __init__ Undocumented
Method __getstate__ Undocumented
Method attached A client has attached -- welcome them and add them to the list.
Method detached Undocumented
Method runInConsole Convience method to "runInConsole with my stuff".
Method console Pass a message to my clients' console.
Method receiveExplorer Pass an Explorer on to my clients.
Method perspective_do Evaluate the given expression, with output to the console.
Method perspective_explore Browse the object obtained by evaluating the identifier.
Method perspective_watch Watch the object obtained by evaluating the identifier.
Method _cbResult Undocumented
Method _cbClientCapable Undocumented
Method _ebClientCapable Undocumented

Inherited from Avatar:

Method perspectiveMessageReceived This method is called when a network message is received.
def __init__(self, service): (source)
Undocumented
def __getstate__(self): (source)
Undocumented
def attached(self, client, identity): (source)
A client has attached -- welcome them and add them to the list.
def detached(self, client, identity): (source)
Undocumented
def runInConsole(self, command, *args, **kw): (source)
Convience method to "runInConsole with my stuff".
def console(self, message): (source)
Pass a message to my clients' console.
def receiveExplorer(self, objectLink): (source)
Pass an Explorer on to my clients.
def _cbResult(self, val, dnum): (source)
Undocumented
def _cbClientCapable(self, capabilities, client): (source)
Undocumented
def _ebClientCapable(self, reason, client): (source)
Undocumented
def perspective_do(self, expr): (source)

Evaluate the given expression, with output to the console.

The result is stored in the local variable '_', and its repr() string is sent to the console as a "result" message.
def perspective_explore(self, identifier): (source)

Browse the object obtained by evaluating the identifier.

The resulting ObjectLink is passed back through the client's receiveBrowserObject method.
def perspective_watch(self, identifier): (source)

Watch the object obtained by evaluating the identifier.

Whenever I think this object might have changed, I will pass an ObjectLink of it back to the client's receiveBrowserObject method.
API Documentation for Twisted, generated by pydoctor at 2011-10-27 16:27:37.