[Twisted-Python] combine local and remote calls in perspective brokers
Maxim Lacrima
lacrima.maxim at gmail.com
Tue Feb 26 03:48:24 EST 2013
Hi,
It is fine to run both of sides within the same process, many test
> suites in twisted do this.
>
I can be wrong, but tests often use `proto_helpers.StringTransport` to
avoid spawning a new process and probably not intended for usage outside of
tests.
If it is the same process, why not to access objects directly?
`pb.Referenceable` and `pb.Root` should be just wrappers around your own
objects.
--
Regards,
Maxim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://twistedmatrix.com/pipermail/twisted-python/attachments/20130226/5a67c3aa/attachment.htm
More information about the Twisted-Python
mailing list