Package arc.net

Class InputStreamSender

java.lang.Object
arc.net.TcpIdleSender
arc.net.InputStreamSender
All Implemented Interfaces:
NetListener

public abstract class InputStreamSender extends TcpIdleSender
  • Constructor Details

    • InputStreamSender

      public InputStreamSender(InputStream input, int chunkSize)
  • Method Details

    • next

      protected final Object next()
      Description copied from class: TcpIdleSender
      Returns the next object to send, or null if no more objects will be sent.
      Specified by:
      next in class TcpIdleSender
    • next

      protected abstract Object next(byte[] chunk)