public class RMIRemoteI2CPort extends java.rmi.server.UnicastRemoteObject implements RMII2CPort
| Modifier | Constructor and Description | 
|---|---|
| protected  | RMIRemoteI2CPort(java.lang.String portName) | 
| Modifier and Type | Method and Description | 
|---|---|
| void | close() | 
| byte[] | i2cTransaction(int deviceAddress,
              byte[] writeBuf,
              int writeOffset,
              int writeLen,
              int readLen)High level i2c interface. | 
| boolean | setType(int type) | 
clone, exportObject, exportObject, exportObject, unexportObjectprotected RMIRemoteI2CPort(java.lang.String portName)
                    throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic void close()
close in interface RMII2CPortpublic byte[] i2cTransaction(int deviceAddress,
                             byte[] writeBuf,
                             int writeOffset,
                             int writeLen,
                             int readLen)
                      throws java.rmi.RemoteException
RMII2CPorti2cTransaction in interface RMII2CPortdeviceAddress - The I2C device address.writeBuf - The buffer containing data to be written to the device.writeOffset - The offset of the data within the write bufferwriteLen - The number of bytes to write.readLen - The length of the readjava.rmi.RemoteExceptionpublic boolean setType(int type)
                throws java.rmi.RemoteException
setType in interface RMII2CPortjava.rmi.RemoteException