Integratec API Platform
opJavaApi.OPControlConnection.OPControlConnection ( String  ip,
int  port 
) throws OPException

Initializes the instance and opens a control connection.

Parameters
[in]ipControl hub IP address or host name.
[in]portControl hub TCP port.
Exceptions
OPException
Usage
Specify the control hub IP address or host name using the ip parameter and the control hub TCP port using the port parameter.
To close the control connection, call close. The control connection is automatically closed when the instance is destroyed.
See also
close, isOpen and open.