接口 DataConsumer
- 所有已知实现类:
MessageControl
public interface DataConsumer
DataConsumer interface.
-
方法概要
修饰符和类型方法说明voiddata(byte[] b, int len) Notifies the consumer that new data is availablevoidhandleIOException.
-
方法详细资料
-
data
void data(byte[] b, int len) Notifies the consumer that new data is available- 参数:
b- array of bytes representing the incoming informationlen- length of the data
-
handleIOException
handleIOException.
- 参数:
e- aIOExceptionobject.
-