Package rcx.comm
Provides classes and interfaces for handling and supporting the USB port on various platforms for the Lego Mindstorms RCX tower (version 2.0+)
These classes abstract the underlying native USB drivers and provides a mechanism similar to the Java Communications Extension API for discovering and managing USB Ports.
See:
Description
|
Interface Summary |
| USBPort |
USBPort - implemented by all ports for each platform |
|
Class Summary |
| LinuxUSBPort |
LinuxUSBPort - uses JNI to interface to linuxusb.so (see linuxusb source code) |
| MacUSBPort |
MacUSBPort - uses JNI to interface to the
macusb.shlib shared library (see macusb source code) |
| USBPortFactory |
USBPortFactory |
| Win32USBPort |
Win32USBPort - uses JNI to interface to win32usb.dll (see win32usb source) |
Package rcx.comm Description
Provides classes and interfaces for handling and supporting the USB port on various platforms for the Lego Mindstorms RCX tower (version 2.0+)
These classes abstract the underlying native USB drivers and provides a mechanism similar to the Java Communications Extension API for discovering and managing USB Ports.
The functionality includes:
- Classes for representing and accessing the native ports.
- Classes that provide USB ports with standard subclasses of InputStream and OutputStream
- A factory Class to determine which native implementation to access.
- An interface to represent a generic USB driver that the platform specific classes implement
Note: Each platform specific instance of USBPort (e.g. Win32USBPort) uses JNI to access the native USB port driver and hence requires a native shared library specific to that platform (See the corresponding source code folder for the native implementation)
Copyright 1998-2002 dario laverde