Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Code Block
languagecpp
themeConfluence
EdmiError edmiGetClientNames(SdaiClientId clientId,
                              SdaiString   *hostName, 
                              SdaiString   *clientName);

Reads the defined client name for a given client Id.

...

All clients that connect to an EDM Server will have assigned a unique numeric client Id. Defining a client name, however, is optional. If defined, this function will return the client name. The host name will also be returned.

...

Arguments

...

TypeNameComment
SdaiClientId

clientId

The unique numeric id that identifies the connected client.

SdaiString

*hostName

Address of a string pointer that will receive the host name at which the client process is running.

SdaiString

*clientName

Address of a string that will receive the optionally defined client name of the client process.

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
 EdmiError rstat;
 SdaiClientId clientId;
 SdaiString hostName;
 SdaiString clientName;
 . . .
 if (rstat = edmiGetClientNames(clientId, hostName, &clientName)) {
 printf("\nError %d in edmiGetClientNames: %s", rstat,
 edmiGetErrorText(rstat)); 
 goto error: 
 }

 

See also

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "model" and parent = "6062220"