|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Listener | |
---|---|
com.esotericsoftware.kryonet |
Uses of Listener in com.esotericsoftware.kryonet |
---|
Subclasses of Listener in com.esotericsoftware.kryonet | |
---|---|
static class |
Listener.LagListener
Delays the notification of the wrapped listener to simulate lag on incoming objects. |
static class |
Listener.QueuedListener
Wraps a listener and queues notifications as runnables . |
static class |
Listener.ReflectionListener
Uses reflection to called "received(Connection, XXX)" on the listener, where XXX is the received object type. |
static class |
Listener.ThreadedListener
Wraps a listener and processes notification events on a separate thread. |
Methods in com.esotericsoftware.kryonet with parameters of type Listener | |
---|---|
void |
Connection.addListener(Listener listener)
If the listener already exists, it is not added again. |
void |
Server.addListener(Listener listener)
|
void |
EndPoint.addListener(Listener listener)
If the listener already exists, it is not added again. |
void |
Client.addListener(Listener listener)
|
void |
Connection.removeListener(Listener listener)
|
void |
Server.removeListener(Listener listener)
|
void |
EndPoint.removeListener(Listener listener)
|
void |
Client.removeListener(Listener listener)
|
Constructors in com.esotericsoftware.kryonet with parameters of type Listener | |
---|---|
Listener.LagListener(int lagMillisMin,
int lagMillisMax,
Listener listener)
|
|
Listener.QueuedListener(Listener listener)
|
|
Listener.ThreadedListener(Listener listener)
Creates a single thread to process notification events. |
|
Listener.ThreadedListener(Listener listener,
java.util.concurrent.ExecutorService threadPool)
Uses the specified threadPool to process notification events. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |