public class ConnectProperties extends Object
| Constructor and Description |
|---|
ConnectProperties(int client,
String user,
String department,
String secret)
Creates a new
ConnectProperties instance with default values for the CP connection (localhost) and language (english). |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
hashCode() |
void |
setCPConnection(String hostname,
int port)
Sets the connection parameters of the communication process.
|
void |
setLanguage(char language)
Sets the logon language.
|
void |
setTraceListener(TraceListener trace)
Enables or disables the XML trace.
|
String |
toString() |
public ConnectProperties(int client,
String user,
String department,
String secret)
ConnectProperties instance with default values for the CP connection (localhost) and language (english).client - Clientuser - User namedepartment - Departmentsecret - Password or tokenpublic void setTraceListener(TraceListener trace)
trace - TraceListener instance or null to disable the trace.public void setLanguage(char language)
language - Allowed values are 'E'(=English), 'D' (=German) and 'F' (=French)public void setCPConnection(String hostname, int port)
hostname - Hostname or IP addressport - Port of the communication processCopyright © 2021. All rights reserved.