Package arc.net

Class TcpIdleSender

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

public abstract class TcpIdleSender extends Object implements NetListener
  • Constructor Details

    • TcpIdleSender

      public TcpIdleSender()
  • Method Details

    • idle

      public void idle(Connection connection)
      Description copied from interface: NetListener
      Called when the connection is below the idle threshold.
      Specified by:
      idle in interface NetListener
    • start

      protected void start()
      Called once, before the first send. Subclasses can override this method to send something so the receiving side expects subsequent objects.
    • next

      protected abstract Object next()
      Returns the next object to send, or null if no more objects will be sent.