|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--org.indy.BaseComponent | +--org.indy.IndyComponent | +--org.indy.socks.SocksInfo
Description of the Class
Inner Class Summary | |
static class |
SocksInfo.Authentication
Description of the Class |
static class |
SocksInfo.Version
Description of the Class |
Inner classes inherited from class org.indy.IndyComponent |
IndyComponent.WorkMode |
Field Summary | |
protected SocksInfo.Authentication |
authentication
Description of the Field |
protected java.lang.String |
host
Description of the Field |
protected IOHandler |
ioHandler
Description of the Field |
protected java.lang.String |
password
Description of the Field |
protected int |
port
Description of the Field |
protected java.lang.String |
username
Description of the Field |
protected SocksInfo.Version |
version
Description of the Field |
Constructor Summary | |
SocksInfo()
Constructor for the IdSocksInfo object |
|
SocksInfo(SocksInfo soInfo)
Constructor for the IdSocksInfo object |
Method Summary | |
SocksInfo.Authentication |
getAuthentication()
Gets the authentication attribute of the IdSocksInfo object |
java.lang.String |
getHost()
Gets the host attribute of the IdSocksInfo object |
java.lang.String |
getPassword()
Gets the password attribute of the IdSocksInfo object |
int |
getPort()
Gets the port attribute of the IdSocksInfo object |
SocksInfo.Version |
getSocksVersion()
Gets the socksVersion attribute of the IdSocksInfo object |
java.lang.String |
getUsername()
Gets the username attribute of the IdSocksInfo object |
void |
makeSocks4Connection(java.lang.String host,
int port)
Description of the Method |
void |
makeSocks5Connection(java.lang.String host,
int port)
Description of the Method |
void |
makeSocksConnection(java.lang.String host,
int port)
Description of the Method |
void |
setAuthentication(SocksInfo.Authentication newAuthentication)
Sets the authentication attribute of the IdSocksInfo object |
void |
setHost(java.lang.String _host)
Sets the host attribute of the IdSocksInfo object |
void |
setIoHandler(IOHandler _ioHandler)
Sets the ioHandler attribute of the IdSocksInfo object |
void |
setPassword(java.lang.String _password)
Sets the password attribute of the IdSocksInfo object |
void |
setPort(int _port)
Sets the port attribute of the IdSocksInfo object |
void |
setSocksVersion(SocksInfo.Version _version)
Sets the socksVersion attribute of the IdSocksInfo object |
void |
setUsername(java.lang.String _username)
Sets the username attribute of the IdSocksInfo object |
Methods inherited from class org.indy.IndyComponent |
addComponentListener, doBeginWork, doBeginWork, doEndWork, doStatus, doStatus, doWork, getLocalName, removeComponentListener |
Methods inherited from class org.indy.BaseComponent |
getVersion |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
protected SocksInfo.Authentication authentication
protected java.lang.String host
protected int port
protected java.lang.String username
protected java.lang.String password
protected SocksInfo.Version version
protected IOHandler ioHandler
Constructor Detail |
public SocksInfo(SocksInfo soInfo)
soInfo
- Description of the Parameterpublic SocksInfo()
Method Detail |
public void setAuthentication(SocksInfo.Authentication newAuthentication)
newAuthentication
- The new authentication valuepublic void setHost(java.lang.String _host)
_host
- The new host valuepublic void setPort(int _port)
_port
- The new port valuepublic void setUsername(java.lang.String _username)
_username
- The new username valuepublic void setPassword(java.lang.String _password)
_password
- The new password valuepublic void setSocksVersion(SocksInfo.Version _version)
_version
- The new socksVersion valuepublic void setIoHandler(IOHandler _ioHandler)
_ioHandler
- The new ioHandler valuepublic SocksInfo.Authentication getAuthentication()
public java.lang.String getHost()
public int getPort()
public java.lang.String getUsername()
public java.lang.String getPassword()
public SocksInfo.Version getSocksVersion()
public void makeSocksConnection(java.lang.String host, int port) throws SocksException, ReadTimedOutException
host
- Description of the Parameterport
- Description of the ParameterIdSocksError
- Description of the Exceptionpublic void makeSocks4Connection(java.lang.String host, int port) throws SocksException, ReadTimedOutException
host
- Description of the Parameterport
- Description of the ParameterIdSocksError
- Description of the Exceptionpublic void makeSocks5Connection(java.lang.String host, int port) throws SocksException, ReadTimedOutException
host
- Description of the Parameterport
- Description of the ParameterIdSocksError
- Description of the Exception
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |