Struct IClientConnect#

Inheritance Relationships#

Derived Type#

Struct Documentation#

struct IClientConnect#

Connect to a remote system. Provided by the ConnectClient utility.

Subclassed by CClient

Public Functions

virtual IInterfaceAccess *Connect(const sdv::u8string &ssConnectString) = 0#

Connect to a remote system using the connection string to contact the system.

Remark

After a successful connection, the ConnectClient utility is not needed any more.

Parameters:

ssConnectString[in] Optional connection string to use for connection. If not provided, the connection will automatically get the connection ID from the app-control service (default). The connection string for a local connection can be of the form:

[Client]
Type = "local"
Instance = 1234  # Optional: only use when connecting to a system with a different instance ID.
And the following can be used for a remote connection:
[Client]
Type = "remote"
Interface = "127.0.0.1"
Port = 2000

Returns:

Returns an interface to the repository of the remote system or a NULL pointer if not found.

IInterfaceAccess Connect (in u8string ssConnectString)

Connect to a remote system using the connection string to contact the system.

Remark

After a successful connection, the ConnectClient utility is not needed any more.

Parameters:

ssConnectString[in] Optional connection string to use for connection. If not provided, the connection will automatically get the connection ID from the app-control service (default). The connection string for a local connection can be of the form:

[Client]
Type = "local"
Instance = 1234  # Optional: only use when connecting to a system with a different instance ID.
And the following can be used for a remote connection:
[Client]
Type = "remote"
Interface = "127.0.0.1"
Port = 2000

Returns:

Returns an interface to the repository of the remote system or a NULL pointer if not found.

Public Static Attributes

static ::sdv::interface_id _id = 0x36D212B6251B63DD#

Interface ID.