EPICS Controls Argonne National Laboratory

Experimental Physics and
Industrial Control System

1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024  Index 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Dynamic RPC in EPICSv4
From: renato sanhueza <[email protected]>
To: [email protected]
Date: Wed, 20 Dec 2017 21:35:19 -0300
Hi, I am studying the communication interfaces provided by EPICS for remote communication and I am currently checking the RPC mechanism of pvAccess. In the example repository (https://github.com/epics-base/exampleJava/blob/master/helloRPC/src/org/epics/exampleJava/helloRPC/HelloClient.java) I found the RPCClientImpl.request method which implement a Synchronous RPC interface.

Then in http://epics-pvdata.sourceforge.net/docbuild/4.6.0/pvAccessJava/documentation/html/index.html I found the RPCClientImpl.sendRequest which appears to implement an Asynchronous RPC interface.

Nevertheless in the example of synchronous RPC the data structures and the method (service) to be called remotely are static (hardcoded in the client code) making the contract between client and server at development time.

I wonder if EPICSv4 has a mechanism for build the RPC dynamically. To acomplish this a generic EPICSv4 client should be able to discover a service in runtime (the helloWorld service for example) and then build the RPC with the required interface.

Best Regards,
Renato 

--
Renato Sanhueza Ulsen
Ing Civil Informática.

Navigate by Date:
Prev: Questions about Name Resolution Server renato sanhueza
Next: Re: APS EPICS Website Moved Mark Davis
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: Re: Questions about Name Resolution Server Johnson, Andrew N.
Next: Holiday Maintenance Andrew Johnson
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  <20172018  2019  2020  2021  2022  2023  2024 
ANJ, 22 Dec 2017 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·