Package org.openscada.opc.lib.common
Class ConnectionInformation
java.lang.Object
org.openscada.opc.lib.common.ConnectionInformation
Holds the connection information
- Author:
- Jens Reimann jens.reimann@th4-systems.com
If both
clsIdandprogIdare set thenclsIdhas priority!
-
Constructor Summary
ConstructorsConstructorDescriptionConnectionInformation(String user, String password) ConnectionInformation(String host, String clsid, String user, String password) -
Method Summary
Modifier and TypeMethodDescriptiongetClsid()getHost()getUser()voidvoidSet the domain of the user used for logging onvoidSet the host on which the server is locatedvoidsetPassword(String password) voidvoid
-
Constructor Details
-
ConnectionInformation
public ConnectionInformation() -
ConnectionInformation
-
ConnectionInformation
-
ConnectionInformation
-
-
Method Details
-
getDomain
-
setDomain
Set the domain of the user used for logging on- Parameters:
domain-
-
getHost
-
setHost
Set the host on which the server is located- Parameters:
host- The host to use, either an IP address oder hostname
-
getPassword
-
setPassword
-
getUser
-
setUser
-
getClsid
-
setClsid
-
getProgId
-
setProgId
-
getClsOrProgId
-