Search in sources :

Example 6 with Endpoint

use of com.jme3.network.kernel.Endpoint in project jmonkeyengine by jMonkeyEngine.

the class UdpEndpoint method close.

public void close(boolean flush) {
    try {
        kernel.closeEndpoint(this);
        connected = false;
    } catch (IOException e) {
        throw new KernelException("Error closing endpoint for socket:" + socket, e);
    }
}
Also used : IOException(java.io.IOException) KernelException(com.jme3.network.kernel.KernelException)

Aggregations

KernelException (com.jme3.network.kernel.KernelException)3 IOException (java.io.IOException)3 ClientRegistrationMessage (com.jme3.network.message.ClientRegistrationMessage)2 HostedConnection (com.jme3.network.HostedConnection)1 Endpoint (com.jme3.network.kernel.Endpoint)1 ChannelInfoMessage (com.jme3.network.message.ChannelInfoMessage)1 Mesh (com.jme3.scene.Mesh)1 DatagramPacket (java.net.DatagramPacket)1 SocketException (java.net.SocketException)1 FloatBuffer (java.nio.FloatBuffer)1