|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrcxproxy
Constructor Summary | |
rcxproxy(int port)
Creates a new instance of rcxproxy |
Method Summary | |
boolean |
checkin()
|
static void |
main(java.lang.String[] args)
|
int |
readFromDest()
I/O method for the rcx->proxy exchange |
int |
readFromSource()
I/O for controlsoftware -> proxy exchange |
int |
translate(int code,
int direction)
|
boolean |
writeToDest(int towrite)
I/O method for the proxy->rcx exchange |
boolean |
writeTosource(int towrite)
I/O for proxy->controlsoftware exchange |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public rcxproxy(int port)
port
- Method Detail |
public boolean checkin()
public int translate(int code, int direction)
translate
in interface proxy
code
- direction
-
public int readFromDest()
readFromDest
in interface proxy
public boolean writeToDest(int towrite)
writeToDest
in interface proxy
towrite
- : byte that has to be sent to the rcx
public int readFromSource()
readFromSource
in interface proxy
public boolean writeTosource(int towrite)
writeTosource
in interface proxy
public static void main(java.lang.String[] args)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |