Package lejos.remote.nxt
Class BTConnection
- java.lang.Object
-
- lejos.remote.nxt.NXTConnection
-
- lejos.remote.nxt.BTConnection
-
- All Implemented Interfaces:
Connection,InputConnection,OutputConnection,StreamConnection
public class BTConnection extends NXTConnection
-
-
Field Summary
-
Fields inherited from class lejos.remote.nxt.NXTConnection
LCP, PACKET, RAW
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidclose()intread(byte[] buf, int length)intread(byte[] buf, int length, boolean b)intwrite(byte[] buffer, int numBytes)-
Methods inherited from class lejos.remote.nxt.NXTConnection
openDataInputStream, openDataOutputStream, openInputStream, openOutputStream
-
-
-
-
Method Detail
-
close
public void close() throws java.io.IOException- Specified by:
closein interfaceConnection- Specified by:
closein classNXTConnection- Throws:
java.io.IOException
-
read
public int read(byte[] buf, int length)- Specified by:
readin classNXTConnection
-
write
public int write(byte[] buffer, int numBytes)- Specified by:
writein classNXTConnection
-
read
public int read(byte[] buf, int length, boolean b)- Specified by:
readin classNXTConnection
-
-