Beispiel #1
0
Datei: helper.py Projekt: wrl/mfp
def main():
    socketpath = sys.argv[1] 
    remote_host = RPCHost()
    remote_host.publish(WrappedClass)
    remote_host.publish(ReverseClass)
    remote_host.start()
    remote_conn = RPCRemote(socketpath, "RPCTests_remote", remote_host)
    remote_conn.connect()

    try: 
        QuittableThread.wait_for_all()
    except Exception, e:
        print "wait_for_all caught error"