|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object lejos.pc.comm.NXTCommUSB lejos.pc.comm.NXTCommLibnxt
public class NXTCommLibnxt
Implementation of NXTComm over USB using libnxt. Should not be used directly - use NXTCommFactory to create an appropriate NXTComm object for your system and the protocol you are using.
Field Summary |
---|
Fields inherited from interface lejos.pc.comm.NXTComm |
---|
LCP, PACKET, RAW |
Constructor Summary | |
---|---|
NXTCommLibnxt()
|
Method Summary | |
---|---|
boolean |
initialize(lejos.internal.jni.JNILoader jnil)
Return false, if the |
Methods inherited from class lejos.pc.comm.NXTCommUSB |
---|
available, close, finalize, getInputStream, getOutputStream, open, open, read, search, sendRequest, write |
Methods inherited from class java.lang.Object |
---|
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public NXTCommLibnxt()
Method Detail |
---|
public boolean initialize(lejos.internal.jni.JNILoader jnil) throws lejos.internal.jni.JNIException
lejos.internal.jni.JNIClass
initialize
in interface lejos.internal.jni.JNIClass
jnil
- instance of JNILoader
lejos.internal.jni.JNIException
- if something went wrong loading the JNI library
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |