Table of Contents

Class: Perspective | Twisted-0.19.0/twisted/manhole/service.py
--- | ---
Base Classes |
--- | ---
pb.Perspective
Methods |
--- | ---
__getstate__ __init__ __setstate__ attached console detached | perspective_do perspective_explore perspective_watch receiveExplorer runInConsole setService
| __getstate__
    __getstate__ ( self )
| __init__
    __init__ (
            self,
            perspectiveName,
            identityName="Nobody",
            )
| __setstate__
    __setstate__ ( self,  state )
| attached
    attached (
            self,
            client,
            identity,
            )
A client has attached welcome them and add them to the list.
| console
    console ( self,  message )
Pass a message to my clients' console.
| detached
    detached (
            self,
            client,
            identity,
            )
| perspective_do
    perspective_do ( self,  expr )
### 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.
| perspective_explore
    perspective_explore ( self,  identifier )
### Browse the object obtained by evaluating the identifier. The resulting ObjectLink is passed back through the client's receiveBrowserObject method.
| perspective_watch
    perspective_watch ( self,  identifier )
### 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.
Exceptions |
--- | ---
NotImplementedError
| receiveExplorer
    receiveExplorer ( self,  objectLink )
Pass an Explorer on to my clients.
| runInConsole
    runInConsole (
            self,
            command,
            *args,
            *kw,
            )
Convience method to "runInConsole with my stuff".
| setService
    setService ( self,  service )

Table of Contents

This document was automatically generated on Sun Jul 14 19:52:50 2002 by HappyDoc version 2.0