|
||||||||
上一个类 下一个类 | 框架 无框架 | |||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |
java.lang.Objectprocessing.android.dandelion.Client
public class Client
字段摘要 | |
---|---|
static boolean |
DEBUG
|
static java.lang.String |
DEBUGTAG
|
构造方法摘要 | |
---|---|
Client(Dandelion parent)
|
方法摘要 | |
---|---|
int |
available()
Returns the available number of bytes in the buffer. |
boolean |
connect(java.lang.String mac)
|
void |
disconnect()
|
java.lang.String[] |
list()
|
int |
readByte()
|
byte[] |
readBytes()
Returns the whole byte buffer. |
java.lang.String |
readDandelion(long timeout)
|
void |
run()
|
java.lang.String |
sendDandelion(java.lang.String code,
boolean answer)
|
void |
write(byte[] buffer)
Writes a byte[] buffer to the output stream. |
void |
write(int thisInt)
Writes a String to the output stream. |
void |
write(java.lang.String thisString)
Writes a String to the output stream. |
从类 java.lang.Object 继承的方法 |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
字段详细信息 |
---|
public static boolean DEBUG
public static java.lang.String DEBUGTAG
构造方法详细信息 |
---|
public Client(Dandelion parent)
方法详细信息 |
---|
public java.lang.String[] list()
public boolean connect(java.lang.String mac)
public void disconnect()
public void write(byte[] buffer)
buffer
- public void write(java.lang.String thisString)
thisString
- public void write(int thisInt)
buffer
- public java.lang.String sendDandelion(java.lang.String code, boolean answer) throws TimeoutException, java.io.IOException
TimeoutException
java.io.IOException
public java.lang.String readDandelion(long timeout) throws TimeoutException
TimeoutException
public int readByte()
public byte[] readBytes()
public int available()
public void run()
java.lang.Runnable
中的 run
|
||||||||
上一个类 下一个类 | 框架 无框架 | |||||||
摘要: 嵌套 | 字段 | 构造方法 | 方法 | 详细信息: 字段 | 构造方法 | 方法 |