Methods
|
|
|
|
__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.
|
|
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 )
|