My silly mistake. I'd overlooked that you have to call pendIO in the java
API just as in C.
This works:
DBR_LABELS_Enum labels = (DBR_LABELS_Enum)channel.get (
DBRType.LABELS_ENUM, 1);
m_ctxt.pendIO (PENDIO_TIMEOUT);
String[] enumerationLabels = labels.getLabels();
Chris
On 11/1/06 3:14 PM, "Christopher Larrieu" <[email protected]>
wrote:
> Anyone have an example of how to fetch the enumeration labels for a channel
> in JCA?
>
> Thanks,
>
> Chris
>
- References:
- Enum labels via JCA? Christopher Larrieu
- Navigate by Date:
- Prev:
Enum labels via JCA? Christopher Larrieu
- Next:
Multihomed IOC Emmanuel Mayssat
- 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:
Enum labels via JCA? Christopher Larrieu
- Next:
Multihomed IOC Emmanuel Mayssat
- 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
|