Integratec API Platform
opNetApi.opControlConnection Class Reference

This class provides an interface for controlling the modules. More...

Public Member Functions

 opControlConnection ()
 Initializes the instance without opening a control connection.
 
 opControlConnection (string ip, int port)
 Initializes the instance and opens a control connection. More...
 
void open (string ip, int port)
 Opens a control connection to a control hub. More...
 
void close ()
 Closes the control connection. More...
 
void start ()
 Sends a signal to the control hub to start registered processes on each control node. More...
 
void stop ()
 Sends a signal to the control hub to stop registered processes on each control node. More...
 

Properties

bool isOpen [get]
 Indicates whether or not a control connection is open. More...
 

Detailed Description

This class provides an interface for controlling the modules.

Attention
An opControlConnection object is NOT thread-safe, meaning that while you are allowed to use the object in multiple threads, you must ensure that you are not calling its methods simultaneously in multiple threads.