Package arc.net
Class NetListener.LagListener
java.lang.Object
arc.net.NetListener.QueuedListener
arc.net.NetListener.LagListener
- All Implemented Interfaces:
NetListener
- Enclosing interface:
- NetListener
Delays the notification of the wrapped listener to simulate lag on
incoming objects. Notification events are processed on a separate thread
after a delay. Note that only incoming objects are delayed. To delay
outgoing objects, use a LagListener at the other end of the connection.
-
Nested Class Summary
Nested classes/interfaces inherited from interface arc.net.NetListener
NetListener.LagListener, NetListener.QueuedListener, NetListener.ThreadedListener
-
Constructor Summary
-
Method Summary
Methods inherited from class arc.net.NetListener.QueuedListener
connected, disconnected, idle, received
-
Constructor Details
-
LagListener
-
-
Method Details
-
queue
- Specified by:
queue
in classNetListener.QueuedListener
-