1 2 3 4 5 6 7 8 9 10 11
from twisted.spread import pb class aClass(pb.Copyable): pass class RemoteClass(pb.RemoteCopy, aClass): pass class PBServer(pb.Root): def remote_echo(self, a): return a