public class RMIRemoteAnalogPort extends java.rmi.server.UnicastRemoteObject implements RMIAnalogPort
Modifier | Constructor and Description |
---|---|
protected |
RMIRemoteAnalogPort(java.lang.String portName) |
Modifier and Type | Method and Description |
---|---|
void |
close() |
void |
getFloats(float[] vals,
int offset,
int length) |
float |
getPin1() |
float |
getPin6() |
boolean |
setPinMode(int mode) |
clone, exportObject, exportObject, exportObject, unexportObject
protected RMIRemoteAnalogPort(java.lang.String portName) throws java.rmi.RemoteException
java.rmi.RemoteException
public float getPin6() throws java.rmi.RemoteException
getPin6
in interface RMIAnalogPort
java.rmi.RemoteException
public float getPin1() throws java.rmi.RemoteException
getPin1
in interface RMIAnalogPort
java.rmi.RemoteException
public void close() throws java.rmi.RemoteException
close
in interface RMIAnalogPort
java.rmi.RemoteException
public boolean setPinMode(int mode) throws java.rmi.RemoteException
setPinMode
in interface RMIAnalogPort
java.rmi.RemoteException
public void getFloats(float[] vals, int offset, int length) throws java.rmi.RemoteException
getFloats
in interface RMIAnalogPort
java.rmi.RemoteException