Code example for ProtocolVersion

	private String hostname;
	private int port;
	private String user;
	private String passwd;
	private static final ProtocolVersion PROTOCOL_VERSION = new ProtocolVersion("HTTP", 1, 0);
	private static final int TIMEOUT = 5000; 
	 * Construct a JsonRPCClient with the given service uri 
	 * @param uri 
	 *            uri of the service 
	public JSONRPCHttpClient(String hostname, int port, String username, String password)
		this.hostname = hostname;
		this.port = port;
		this.user = username;
		this.passwd = password;
Connect your IDE to all the code out there  Get Codota for Java