|
IP*Works! V9 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectipworks.Firewall
public class Firewall
The firewall the bean will connect through.
When connecting through a firewall, this type is used to specify different properties of the firewall such as the firewall Host
and the FirewallType
.
FirewallType: This field determines the type of firewall to connect through. The applicable values are the following:
Port
is set to 80.
Port
is set to 1080.
Port
is set to 1080.
Host:
This field contains the name or IP address of firewall (optional).
If a Host
is given, the requested connections will be authenticated through the specified firewall when connecting.
If this field is set to a Domain Name, a DNS request is initiated. Upon successful termination of the request, this field is set to the corresponding address. If the search is not successful, the bean throws an exception.
Password:
This field contains a password if authentication is to be used when connecting through the firewall. If Host
is specified, the User
and Password
fields are used to connect and authenticate to the given firewall. If the authentication fails, the bean throws an exception.
Port:
This field contains the TCP port for the firewall Host
. See the description of the Host
field for details.
Note that this field is set automatically when FirewallType
is set to a valid value.
See the description of the FirewallType
field for details.
User:
This field contains a user name if authentication is to be used connecting through a firewall.
If the Host
is specified, this field and Password
fields are used to connect and authenticate to the given Firewall
. If the authentication fails, the bean throws an exception.
Atom
,
Atom.Firewall
Field Summary | |
---|---|
static int |
fwNone
|
static int |
fwSOCKS4
|
static int |
fwSOCKS5
|
static int |
fwTunnel
|
Constructor Summary | |
---|---|
Firewall()
|
Method Summary | |
---|---|
int |
getFirewallType()
|
java.lang.String |
getHost()
|
java.lang.String |
getPassword()
|
int |
getPort()
|
java.lang.String |
getUser()
|
void |
setFirewallType(int value)
|
void |
setHost(java.lang.String value)
|
void |
setPassword(java.lang.String value)
|
void |
setPort(int value)
|
void |
setUser(java.lang.String value)
|
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final int fwNone
public static final int fwTunnel
public static final int fwSOCKS4
public static final int fwSOCKS5
Constructor Detail |
---|
public Firewall()
Method Detail |
---|
public int getFirewallType()
public void setFirewallType(int value)
public java.lang.String getHost()
public void setHost(java.lang.String value)
public java.lang.String getPassword()
public void setPassword(java.lang.String value)
public int getPort()
public void setPort(int value)
public java.lang.String getUser()
public void setUser(java.lang.String value)
|
IP*Works! V9 | |||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |