UartBus source documentation
UbDeviceNsLazyImpl.java
1 package eu.javaexperience.electronic.uartbus.rpc.client.device;
2 
3 import java.util.Arrays;
4 
5 import eu.javaexperience.generic.annotations.Ignore;
6 import eu.javaexperience.reflect.Mirror;
7 
8 public class UbDeviceNsLazyImpl implements UbDeviceNs
9 {
10  protected UartBusDevice dev;
11  protected byte[] path = Mirror.emptyByteArray;
12 
14  {
15  this.dev = dev;
16  }
17 
18  public UbDeviceNsLazyImpl(UartBusDevice dev, byte[] path)
19  {
20  this(dev);
21  this.path = Arrays.copyOf(path, path.length);
22  }
23 
24  @Ignore
25  @Override
26  public <T extends UbDeviceNs> T cast(Class<T> dst){return null;}
27 
28  @Ignore
29  @Override
30  public <T extends UbDeviceNs> T customNs(Class<T> dst, short num){return null;}
31 }