1 2 29 30 package com.jcraft.jhttptunnel; 31 32 class Proxy{ 33 String host; 34 int port; 35 String auth_name=null; 36 String auth_passwd=null; 37 Proxy(String host, int port){ 38 this.host=host; 39 this.port=port; 40 } 41 String getHost(){ return host; } 42 int getPort(){ return port; } 43 void setAuth(String name, String passwd){ 44 this.auth_name=name; 45 this.auth_passwd=passwd; 46 } 47 String getAuthName(){return auth_name;} 48 String getAuthPasswd(){return auth_passwd;} 49 } 50 | Popular Tags |