public class UartBusDevice extends Object
Modifier and Type | Field and Description |
---|---|
protected int |
address |
protected UartBus |
bus |
protected eu.javaexperience.pdw.ProxyHelpedLazyImplementation<UbDeviceNs,UbDeviceNsLazyImpl,UbDevStdNsRoot> |
handler |
int |
retryCount |
long |
timeout |
TimeUnit |
timeoutUnit |
Constructor and Description |
---|
UartBusDevice(UartBus bus,
int address) |
Modifier and Type | Method and Description |
---|---|
static <R extends UbDeviceNs> |
createNsHandler(UartBusDevice device,
Class<R> rootCls) |
int |
getAddress() |
UartBus |
getBus() |
UbDevStdNsRoot |
getRpcRoot() |
protected Object |
handleDeviceRpcCall(byte[] path,
Method method,
Object[] params) |
void |
setTimeout(long timeout,
TimeUnit unit) |
protected UartBus bus
protected int address
public long timeout
public TimeUnit timeoutUnit
public int retryCount
protected final eu.javaexperience.pdw.ProxyHelpedLazyImplementation<UbDeviceNs,UbDeviceNsLazyImpl,UbDevStdNsRoot> handler
public UartBusDevice(UartBus bus, int address)
public UbDevStdNsRoot getRpcRoot()
public int getAddress()
public static <R extends UbDeviceNs> eu.javaexperience.pdw.ProxyHelpedLazyImplementation<UbDeviceNs,UbDeviceNsLazyImpl,R> createNsHandler(UartBusDevice device, Class<R> rootCls)
protected Object handleDeviceRpcCall(byte[] path, Method method, Object[] params) throws Exception
Exception
public void setTimeout(long timeout, TimeUnit unit)
public UartBus getBus()
Copyright © 2020. All rights reserved.