public interface Transport
| 限定符和类型 | 方法和说明 |
|---|---|
void |
removeConsumer() |
void |
setConsumer(DataConsumer consumer) |
void |
write(byte[] data) |
void |
write(byte[] data,
int len) |
void setConsumer(DataConsumer consumer) throws IOException
IOExceptionvoid removeConsumer()
void write(byte[] data)
throws IOException
IOExceptionvoid write(byte[] data,
int len)
throws IOException
IOExceptionCopyright © 2018. All rights reserved.