Versions Compared

Key

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

...

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

Returns the coresponding client Id of a given client Name.

...

  All clients that connect to an EDM Server will have assigned a unique numeric client Id. Defining a client name, however, is optional. Therefore this function may only be used to retrieve the client Ids of clients that are connected with the EDM Server with a defined client name.

...

Arguments

...

TypeNameComment
SdaiString

ClientName

The defined client name of the connected client. Use edmiDefineClientName to define client names.

SdaiClientId

*clientId

Address of a variable that will receive 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.

...

   

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
EdmiError rstat;
 SdaiString myHostName;
 SdaiClientId myClientId;
 SdaiString myClientName = "My Client Name";
 . . .
 edmiDefineClientName(myClientName);
 if (rstat = edmiGetClientId(myClientName, &myClientId, &myHostName)) {
 printf("\nError %d in edmiGetClientId: %s", rstat,  
 edmiGetErrorText(rstat)); 
 goto error; 
 }

 

See also

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