Versions Compared

Key

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

...

Code Block
languagecpp
themeConfluence
EdmiError edmiGetCommunication(SdaiString  *portName,
                                SdaiString  *commProtocol, 
                                SdaiString  *edmdHost, 
                                SdaiInteger *portNumber); 

 

Returns the actual EDMinterface to EDMserver communication set-up.

...

This operation is only applicable in a true server-client version of to EDMserver.

...

Arguments

...

TypeNameComment
SdaiString

portName

Address of a variable that will receive the address of the name of the actual EDMserver service port. The actual data is located in a buffer in EDMinterface that can be overwritten in the next EDMinterface call.

SdaiString

commProtocol

Address of a variable that will receive the address of the name of the actual communication protocol used in the EDMinterface to EDMserver communication. The actual data is located in a buffer in EDMinterface that can be overwritten in the next EDMinterface call.

SdaiString

edmdHost

Address of a variable that will receive the host name of the system that runs the actual EDMserver . The actual data is located in a buffer in EDMinterface that can be overwritten in the next EDMinterface call.

SdaiInteger

portNumber

Address of the variable that will receive an integer number that is the number of the port used to communicate between the EDMinterface and the EDMserver.

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

Options

...

 

Example

...

 

Code Block
languagecpp
EdmiError rstat;
 SdaiString commProtocol, edmdHost, portName;
 SdaiInteger portNumber;
 . . .
 if (rstat = edmiGetCommunication (&portName,
 &commProtocol, 
 &edmdHost, 
 &portNumber)) { 
 /* Error in operation */ 
 printf("\nError: %s in edmiGetCommunication\n",

...

 
 edmiGetErrorText(rstat));

...

 
 goto error;

...

 
 }
 printf("\nHost: %s \nPort: %s \nProtocol: %s \nPortNumber: %ld",

...


 edmdHost, portName, commProtocol, portNumber);

...

 
 . . .

 

See also

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