|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Connection | |
---|---|
com.esotericsoftware.kryonet | |
com.esotericsoftware.kryonet.rmi |
Uses of Connection in com.esotericsoftware.kryonet |
---|
Subclasses of Connection in com.esotericsoftware.kryonet | |
---|---|
class |
Client
Represents a TCP and optionally a UDP connection to a Server . |
Methods in com.esotericsoftware.kryonet that return Connection | |
---|---|
Connection[] |
Server.getConnections()
Returns the current connections. |
Methods in com.esotericsoftware.kryonet with parameters of type Connection | |
---|---|
void |
Listener.connected(Connection connection)
Called when the remote end has been connected. |
void |
Listener.QueuedListener.connected(Connection connection)
|
void |
Listener.disconnected(Connection connection)
Called when the remote end is no longer connected. |
void |
Listener.QueuedListener.disconnected(Connection connection)
|
void |
Listener.received(Connection connection,
java.lang.Object object)
Called when an object has been received from the remote end of the connection. |
void |
Listener.ReflectionListener.received(Connection connection,
java.lang.Object object)
|
void |
Listener.QueuedListener.received(Connection connection,
java.lang.Object object)
|
Uses of Connection in com.esotericsoftware.kryonet.rmi |
---|
Methods in com.esotericsoftware.kryonet.rmi with parameters of type Connection | ||
---|---|---|
void |
ObjectSpace.addConnection(Connection connection)
Allows the remote end of the specified connection to access objects registered in this ObjectSpace. |
|
static RemoteObject |
ObjectSpace.getRemoteObject(Connection connection,
int objectID,
java.lang.Class... ifaces)
Returns a proxy object that implements the specified interfaces. |
|
static
|
ObjectSpace.getRemoteObject(Connection connection,
int objectID,
java.lang.Class<T> iface)
Identical to ObjectSpace.getRemoteObject(Connection, int, Class...) except returns the object cast to the specified interface
type. |
|
void |
ObjectSpace.removeConnection(Connection connection)
Removes the specified connection, it will no longer be able to access objects registered in this ObjectSpace. |
|
static void |
RmiTest.runTest(Connection connection,
int id,
float other)
|
Constructors in com.esotericsoftware.kryonet.rmi with parameters of type Connection | |
---|---|
ObjectSpace(Connection connection)
Creates an ObjectSpace with the specified connection. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |