Experimental Physics and Industrial Control System
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
<2018>
2019
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
<2018>
2019
2020
2021
2022
2023
2024