Integratec API Platform
void opJavaApi.OPClientConnection.open ( String  ip,
int  port 
) throws OPException

Opens and registers a client connection to a master.

Parameters
[in]ipMaster IP address, host name or endpoint.
[in]portMaster TCP port.
Exceptions
OPException
Usage
Specify the master IP address, host name or endpoint using the ip parameter and the master TCP port using the port parameter. When specifying an endpoint, the ip parameter must be of the form tcp://host:port and the port parameter must be 0.
To close the client connection, call close. The client connection is automatically closed when the instance is destroyed.
The callback function will be set to null.
See also
close and isOpen