| Package | Description |
|---|---|
| com.esotericsoftware.kryonet | |
| com.esotericsoftware.kryonet.util |
| Modifier and Type | Class and Description |
|---|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
void |
Client.addListener(Listener listener) |
void |
Connection.addListener(Listener listener)
If the listener already exists, it is not added again.
|
void |
EndPoint.addListener(Listener listener)
If the listener already exists, it is not added again.
|
void |
Server.addListener(Listener listener) |
void |
Client.removeListener(Listener listener) |
void |
Connection.removeListener(Listener listener) |
void |
EndPoint.removeListener(Listener listener) |
void |
Server.removeListener(Listener listener) |
| Constructor and Description |
|---|
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,
ExecutorService threadPool)
Uses the specified threadPool to process notification events.
|
| Modifier and Type | Class and Description |
|---|---|
class |
InputStreamSender |
class |
TcpIdleSender |
Copyright © 2014. All Rights Reserved.