|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.jscape.inet.mft.management.common.ManagerConfiguration
public class ManagerConfiguration
Manager subsystem configuration.
Constructor Summary | |
---|---|
ManagerConfiguration()
This constructor is used by serialization sub-system and is not intended to use directly in client code. |
|
ManagerConfiguration(ManagerConfiguration that)
Copy constructor. |
|
ManagerConfiguration(java.lang.String host,
int port,
java.lang.String password,
long connectionTimeout,
boolean logMessages)
Creates a new configuration instance. |
Method Summary | |
---|---|
long |
getConnectionTimeout()
Returns connection timeout. |
boolean |
getDebug()
Returns debug flag. |
java.lang.String |
getHost()
Returns management server host. |
java.lang.String |
getPassword()
Returns management server access password. |
int |
getPort()
Returns management server port. |
boolean |
isSameBinding(ManagerConfiguration that)
Verifies that specified configuration uses the same host/port as the current. |
void |
setConnectionTimeout(long value)
Sets connection timeout. |
void |
setDebug(boolean debug)
Sets debug flag. |
void |
setHost(java.lang.String value)
Sets management server. |
void |
setPassword(java.lang.String value)
Sets management server password. |
void |
setPort(int value)
Sets management server port. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public ManagerConfiguration(java.lang.String host, int port, java.lang.String password, long connectionTimeout, boolean logMessages)
host
- management server hostport
- management server portpassword
- management server access passwordconnectionTimeout
- connection timeoutlogMessages
- log messages flagpublic ManagerConfiguration()
public ManagerConfiguration(ManagerConfiguration that)
that
- instance to copyMethod Detail |
---|
public java.lang.String getHost()
public void setHost(java.lang.String value)
value
- management server hostpublic int getPort()
public void setPort(int value)
value
- management server port valuepublic java.lang.String getPassword()
public void setPassword(java.lang.String value)
value
- management server password valuepublic long getConnectionTimeout()
public void setConnectionTimeout(long value)
value
- connection timeout in millisecondspublic boolean getDebug()
true
if debug is turned on;
false
otherwisepublic void setDebug(boolean debug)
debug
- if true
debug mode will be turned onpublic boolean isSameBinding(ManagerConfiguration that)
that
- configuration to compare to
true
if both configurations use the same host/port;
false
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |