/[gnue]/gnue-common/src/rpc/test/server.py
ViewVC logotype

Diff of /gnue-common/src/rpc/test/server.py

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.1 by siesel, Mon Sep 22 22:20:39 2003 UTC revision 1.2 by siesel, Wed Oct 15 14:01:36 2003 UTC
# Line 150  def bind_sockets(): Line 150  def bind_sockets():
150    print "Exporting our services via sockets..."    print "Exporting our services via sockets..."
151    transports['sockets'] =  { 'port': 8765 }    transports['sockets'] =  { 'port': 8765 }
152    
153    #
154    # Use the pyro interface
155    #
156    # This binds to the standart pyro port
157    #
158    def bind_pyro():
159      print "Exporting our services via sockets..."
160      transports['pyro'] =  { 'port': 8765 }
161    
162    
163    
164  #  #
# Line 202  if __name__ == '__main__': Line 211  if __name__ == '__main__':
211    bind_xmlrpc()    bind_xmlrpc()
212  #  bind_pw_xmlrpc()  #  bind_pw_xmlrpc()
213  # bind_sockets()  # bind_sockets()
214      bind_pyro()
215    run()    run()
216    

Legend:
Removed from v.1.1  
changed lines
  Added in v.1.2

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26