public class YCallbackHub extends Object
Modifier and Type | Class and Description |
---|---|
protected static class |
YGenericHub.HTTPParams |
Modifier and Type | Field and Description |
---|---|
protected HashMap<String,YDevice> |
_devices |
protected long |
_devListExpires |
protected long |
_devListValidity |
protected int |
_hubidx |
protected Object |
_notifyHandle |
protected long |
_notifyTrigger |
protected boolean |
_reportConnnectionLost |
protected ConcurrentHashMap<Integer,String> |
_serialByYdx |
protected YAPIContext |
_yctx |
static long |
YPROG_BOOTLOADER_TIMEOUT |
Modifier and Type | Method and Description |
---|---|
ArrayList<String> |
get_subDeviceOf(String serialNumber) |
String |
get_urlOf(String serialNumber) |
static String |
getAPIVersion() |
ArrayList<String> |
getBootloaders() |
protected void |
handleTimedNotification(String serial,
String funcid,
double deviceTime,
ArrayList<Integer> report) |
protected void |
handleTimedNotification(String serial,
String funcid,
double deviceTime,
byte[] report) |
protected void |
handleValueNotification(String serial,
String funcid,
String value) |
int |
ping(int mstimeout) |
protected void |
updateFromWpAndYp(ArrayList<com.yoctopuce.YoctoAPI.WPEntry> whitePages,
HashMap<String,ArrayList<com.yoctopuce.YoctoAPI.YPEntry>> yellowPages) |
public static final long YPROG_BOOTLOADER_TIMEOUT
protected final YAPIContext _yctx
protected int _hubidx
protected long _notifyTrigger
protected Object _notifyHandle
protected volatile long _devListValidity
protected long _devListExpires
protected final ConcurrentHashMap<Integer,String> _serialByYdx
protected final boolean _reportConnnectionLost
public ArrayList<String> getBootloaders() throws YAPI_Exception
YAPI_Exception
public int ping(int mstimeout) throws YAPI_Exception
YAPI_Exception
protected void updateFromWpAndYp(ArrayList<com.yoctopuce.YoctoAPI.WPEntry> whitePages, HashMap<String,ArrayList<com.yoctopuce.YoctoAPI.YPEntry>> yellowPages) throws YAPI_Exception
YAPI_Exception
protected void handleValueNotification(String serial, String funcid, String value)
protected void handleTimedNotification(String serial, String funcid, double deviceTime, byte[] report)
protected void handleTimedNotification(String serial, String funcid, double deviceTime, ArrayList<Integer> report)
public static String getAPIVersion()
Copyright © 2016. All rights reserved.