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, unexportObjectprotected RMIRemoteAnalogPort(java.lang.String portName)
throws java.rmi.RemoteException
java.rmi.RemoteExceptionpublic float getPin6()
throws java.rmi.RemoteException
getPin6 in interface RMIAnalogPortjava.rmi.RemoteExceptionpublic float getPin1()
throws java.rmi.RemoteException
getPin1 in interface RMIAnalogPortjava.rmi.RemoteExceptionpublic void close()
throws java.rmi.RemoteException
close in interface RMIAnalogPortjava.rmi.RemoteExceptionpublic boolean setPinMode(int mode)
throws java.rmi.RemoteException
setPinMode in interface RMIAnalogPortjava.rmi.RemoteExceptionpublic void getFloats(float[] vals,
int offset,
int length)
throws java.rmi.RemoteException
getFloats in interface RMIAnalogPortjava.rmi.RemoteException