factory_create_connection


Description:

public static SocketConnection factory_create_connection (Socket socket)

Creates a SocketConnection subclass of the right type for this.

Parameters:

socket

a Socket

Returns:

a SocketConnection