Home | Trees | Index | Help |
---|
Package twisted :: Package manhole :: Module service :: Class Perspective |
|
Perspective
--+ |Perspective
--+ | Perspective
Method Summary | |
---|---|
Create me. | |
__getstate__(self)
| |
A client has attached -- welcome them and add them to the list. | |
An intermediary method to override. (inherited from Perspective )
| |
See brokerAttached . (inherited from Perspective )
| |
Pass a message to my clients' console. | |
detached(self,
client,
identity)
| |
Request my identity. (inherited from Perspective )
| |
Return the unique name of this perspective. (inherited from Perspective )
| |
Return a service. (inherited from Perspective )
| |
Make an identity from this perspective with a password. (inherited from Perspective )
| |
Evaluate the given expression, with output to the console. | |
Browse the object obtained by evaluating the identifier. | |
Watch the object obtained by evaluating the identifier. | |
This method is called when a network message is received. (inherited from Perspective )
| |
Pass an Explorer on to my clients. | |
Convience method to "runInConsole with my stuff". | |
Determine which identity I connect to. (inherited from Perspective )
| |
(inherited from Perspective )
| |
Change what service I am a part of. | |
_cbResult(self,
val,
dnum)
|
Class Variable Summary | |
---|---|
int |
lastDeferred
|
Method Details |
---|
__init__(self,
perspectiveName,
identityName='Nobody')
|
attached(self, client, identity)A client has attached -- welcome them and add them to the list. |
console(self, message)Pass a message to my clients' console. |
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(self, identifier)Browse the object obtained by evaluating the identifier. The resulting ObjectLink is passed back through the client's receiveBrowserObject method. |
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(self, objectLink)Pass an Explorer on to my clients. |
runInConsole(self, command, *args, **kw)Convience method to "runInConsole with my stuff". |
setService(self, service)Change what service I am a part of.
|
Class Variable Details |
---|
lastDeferred
|
Home | Trees | Index | Help |
---|
Generated by Epydoc 1.2 prerelease on Wed Jan 29 06:28:19 2003 | http://epydoc.sf.net |