-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
nikita wrote:
> Can someone show a working example on Java of this code in Python:
>
> /import xmlrpclib server = "localhost" service =
> xmlrpclib.Server('http://%s:19382/RPC2' % server) results =
> service.handlePacket('use sessions', { 'type':
> 'PacketPokerTableSelect', 'string' : table}) for table in
> results[0]['packets']: print table['name']/
>
>
> So far I have this on Java and i don't know how to form /params
> /variable:
>
> /import org.apache.xmlrpc.client.XmlRpcClient; import
> org.apache.xmlrpc.client.XmlRpcClientConfigImpl; import java.net.*;
>
>
> public class Test {
>
> public static void main( String args[] ) throws Exception {
> XmlRpcClientConfigImpl config = new XmlRpcClientConfigImpl();
> config.setServerURL(new URL("http://127.0.0.1:19382/RPC2"));
> XmlRpcClient client = new XmlRpcClient(); client.setConfig(config);
> Object[] params = new Object[]{}; } }/
>
Although Guy (in cc) is running another fine poker project (cspoker)
he is a skilled Java developer and may be willing to help you.
Cheers
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.9 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
iEYEARECAAYFAkjEbh0ACgkQ8dLMyEl6F22c1QCfazelwXzKZWYW/eYhFChiP4k3
zj8An2NdA+Crs6K9wKMCAwojGhxO2w1R
=ivAO
-----END PGP SIGNATURE-----
begin:vcard
fn:Loic Dachary
n:Dachary;Loic
org:pokersource
adr:;;12 bd Magenta;Paris;;75010;France
email;internet:[EMAIL PROTECTED]
title:Senior Developer
tel;work:+33 9 51 18 43 38
tel;cell:+33 6 64 03 29 07
x-mozilla-html:FALSE
url:http://dachary.org/
version:2.1
end:vcard
_______________________________________________
Pokersource-users mailing list
[email protected]
https://mail.gna.org/listinfo/pokersource-users