Re: [Twisted-Python] Perspective Broker vs AMP
![](https://secure.gravatar.com/avatar/52cff2b66b9e291797f15f0c1b3491b8.jpg?s=120&d=mm&r=g)
March 31, 2008
8:23 a.m.
On 2008.03.31 09:00:40 +0100, Simon Pickles wrote:
The mind argument to Realm.requestAvatar holds a reference to the client object that the client passed to PBClientFactory.login You can stash that reference somewhere on the server side, and call callRemote on it later. http://twistedmatrix.com/projects/core/documentation/howto/cred.html
And the server can use callRemote on a client's protocol object. I have a simple AMP chat example that demonstrates this: http://ripton.net/hg/ampchat -- David Ripton dripton@ripton.net
6165
Age (days ago)
6165
Last active (days ago)
0 comments
1 participants
participants (1)
-
David Ripton