接口 DataConsumer

所有已知实现类:
MessageControl

public interface DataConsumer

DataConsumer interface.

  • 方法概要

    修饰符和类型
    方法
    说明
    void
    data(byte[] b, int len)
    Notifies the consumer that new data is available
    void
    handleIOException.
  • 方法详细资料

    • data

      void data(byte[] b, int len)
      Notifies the consumer that new data is available
      参数:
      b - array of bytes representing the incoming information
      len - length of the data
    • handleIOException

      void handleIOException(IOException e)

      handleIOException.

      参数:
      e - a IOException object.