public static ApiConnection connect ( SocketFactory fact , String host , int port , int timeOut ) throws ApiConnectionException { ApiConnectionImpl con = new ApiConnectionImpl ( ) ; con . open ( host , port , fact , timeOut ) ; return con ; }
Create a new API connection to the give device on the supplied port