public interface DataConsumer
| 限定符和类型 | 方法和说明 |
|---|---|
void |
data(byte[] b,
int len)
Notifies the consumer that new data is available
|
void |
handleIOException(IOException e) |
void data(byte[] b,
int len)
b - array of bytes representing the incoming informationlen - length of the datavoid handleIOException(IOException e)
Copyright © 2018. All rights reserved.