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  2017  <20182019  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  2017  <20182019  2020  2021  2022  2023  2024 
<== Date ==> <== Thread ==>

Subject: Re: void return value in RPC
From: Michael Davidsaver <[email protected]>
To: renato sanhueza <[email protected]>, [email protected]
Date: Thu, 4 Jan 2018 10:08:56 -0800
On 01/03/2018 09:34 PM, renato sanhueza wrote:
> Good nights everyone,
> 
> I am toying with pvAccess and I want to implement a RPC that returns nothing (void). Reading the Java API I found that all RPC should return a PVStructure. I tried to return an un-instantiated PVStructure, but sending a Null causes an exception. What would be the best way of implement a void method?

A Structure need not have any members.  An empty structure is as close to void as the PVData type system supports.

Replies:
Re: void return value in RPC Benjamin Franksen
References:
void return value in RPC renato sanhueza

Navigate by Date:
Prev: void return value in RPC renato sanhueza
Next: Build pvaPy for Python 3 renato sanhueza
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
Navigate by Thread:
Prev: void return value in RPC renato sanhueza
Next: Re: void return value in RPC Benjamin Franksen
Index: 1994  1995  1996  1997  1998  1999  2000  2001  2002  2003  2004  2005  2006  2007  2008  2009  2010  2011  2012  2013  2014  2015  2016  2017  <20182019  2020  2021  2022  2023  2024 
ANJ, 05 Jan 2018 Valid HTML 4.01! · Home · News · About · Base · Modules · Extensions · Distributions · Download ·
· Search · EPICS V4 · IRMIS · Talk · Bugs · Documents · Links · Licensing ·