Hi Irmen,
I have successfully got it to work with both side as python but so far having
trouble with pyrolite.jar which is downloaded from
https://mvnrepository.com/artifact/net.razorvine/pyrolite/4.4
Having simple codes as:
public static void main(String[] args) {
// System.out.println("Hello world");
try {
String uri =
"PYRO:obj_12a65b09f95f4ee9bec5958f819ced45@localhost:64404";
PyroURI pyURI = new PyroURI(uri);
PyroProxy pyroP = new PyroProxy(pyURI);
Object result = pyroP.call("getDst");
String message = (String) result;
System.out.println("result message=" + message);
pyroP.close();
}
catch (IOException e1) {
System.out.println(e1.getMessage());
}
catch (PickleException e2)
{
System.out.println(e2.getMessage());
}
catch (PyroException e3)
{
System.out.println(e3.getMessage());
}
}
which "getDst" works on Java but hangs on handshake() in the call function.
Any thought? Thanks. -P
--
https://mail.python.org/mailman/listinfo/python-list