3
# Copyright (c) 2009 Twisted Matrix Laboratories.
4
# See LICENSE for details.
6
from twisted.spread import pb
8
class Two(pb.Referenceable):
9
def remote_three(self, arg):
10
print "Two.three was given", arg
13
def remote_getTwo(self):
15
print "returning a Two called", two
18
from twisted.internet import reactor
19
reactor.listenTCP(8800, pb.PBServerFactory(One()))