gnumed-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Gnumed-devel] client scripting functional


From: Karsten Hilbert
Subject: [Gnumed-devel] client scripting functional
Date: Fri, 6 Feb 2004 01:12:24 +0100
User-agent: Mutt/1.3.22.1i

Eventually our client can be scripted:

$> python gnumed.py --debug --slave=slave-test --port=98765

Do this and observe what happens to your client:

$-> python
=> import xmlrpclib
=> gnumed = xmlrpclib.ServerProxy('http://localhost:98765')
=> gnumed.attach('slave-test')
=> gnumed.version()
=> gnumed.raise_gnumed()
=> data = gnumed.lock_into_patient('kirk, jame')
=> gnumed.raise_plugin()
 [1]
=> gnumed.unlock_patient(data[1])
=> gnumed.detach('slave-test')

[1] functionality needs to be written that goes here

Karsten
-- 
GPG key ID E4071346 @ wwwkeys.pgp.net
E167 67FD A291 2BEA 73BD  4537 78B9 A9F9 E407 1346





reply via email to

[Prev in Thread] Current Thread [Next in Thread]