|
||||||||
上一个类 下一个类 | 框架 无框架 | |||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectjava.lang.Thread
processing.android.dandelion.ConnectedThread
public class ConnectedThread
嵌套类摘要 |
---|
从类 java.lang.Thread 继承的嵌套类/接口 |
---|
java.lang.Thread.State, java.lang.Thread.UncaughtExceptionHandler |
字段摘要 |
---|
从类 java.lang.Thread 继承的字段 |
---|
MAX_PRIORITY, MIN_PRIORITY, NORM_PRIORITY |
构造方法摘要 | |
---|---|
ConnectedThread(Client parent,
BluetoothSocket socket,
int bufferLength)
|
方法摘要 | |
---|---|
int |
available()
|
void |
cancel()
|
byte[] |
read()
Return a byte array of anything that's in the serial buffer. |
int |
readByte()
Returns a number between 0 and 255 for the next byte that's waiting in the buffer. |
void |
run()
|
void |
write(byte[] bytes)
|
从类 java.lang.Thread 继承的方法 |
---|
activeCount, checkAccess, countStackFrames, currentThread, destroy, dumpStack, enumerate, getAllStackTraces, getContextClassLoader, getDefaultUncaughtExceptionHandler, getId, getName, getPriority, getStackTrace, getState, getThreadGroup, getUncaughtExceptionHandler, holdsLock, interrupt, interrupted, isAlive, isDaemon, isInterrupted, join, join, join, resume, setContextClassLoader, setDaemon, setDefaultUncaughtExceptionHandler, setName, setPriority, setUncaughtExceptionHandler, sleep, sleep, start, stop, stop, suspend, toString, yield |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
构造方法详细信息 |
---|
public ConnectedThread(Client parent, BluetoothSocket socket, int bufferLength)
方法详细信息 |
---|
public void run()
java.lang.Runnable
中的 run
java.lang.Thread
中的 run
public void write(byte[] bytes)
public byte[] read()
public int readByte()
public int available()
public void cancel()
|
||||||||
上一个类 下一个类 | 框架 无框架 | |||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |