public abstract class TcpIdleSender extends Listener
Listener.LagListener, Listener.QueuedListener, Listener.ReflectionListener, Listener.ThreadedListener
Constructor and Description |
---|
TcpIdleSender() |
Modifier and Type | Method and Description |
---|---|
void |
idle(Connection connection)
Called when the connection is below the
idle threshold . |
protected abstract Object |
next()
Returns the next object to send, or null if no more objects will be sent.
|
protected void |
start()
Called once, before the first send.
|
connected, disconnected, received
public void idle(Connection connection)
Listener
idle threshold
.protected void start()
protected abstract Object next()
Copyright © 2014. All Rights Reserved.