edmiGetCommunicationEX

EdmiError edmiGetCommunicationEX(SdaiString *communicationType,
                                  SdaiString *edmServerPortNumber,
                                  SdaiString *edmServerHostName,
                                  SdaiString *edmiHttpTunnelName,
                                  SdaiString *edmiHttpTunnelPortNumber,
                                  SdaiString *edmiHttpTunnelHostName,
                                  SdaiString *proxyServerPortNumber,
                                  SdaiString *proxyServerName);

Returns the actual EDMInterface parameters for communication between a thick EDMclient and the EDMserver. Use edmiDefineCommunicationEx to set up the communication parameters.

Arguments


TypeNameComment
SdaiString

*communicationType

Variable that will receive the nature of the communication with an EDMserver. Possible communication types are;

  • "HTTP": Stateful non-transaction oriented communication with the EDMserver by Hyper Text Transfer Protocol.
  • "TCP": Stateful non-transaction oriented communication with a remote EDMserver by Transfer Communication Protocol.
SdaiString

*edmServerPortNumber

Variable that will receive the service port number used for communication by an EDMserver.

SdaiString

*edmServerHostName

Variable that will receive the name or IP-address of the machine hosting the EDMserver.

SdaiString

*edmiHttpTunnelName

Variable that will receive the name and full path of the HTTP Tunnel.

SdaiString

*edmiHttpTunnelPortNumber

Variable that will receive the tunnel service port number on the machine hosting the HTTP Tunnel .

SdaiString

*edmiHttpTunnelHostName

Variable that will receive the name or IP-address of the machine hosting the HTTP Tunnel .

SdaiString

*proxyServerPortNumber

Variable that will receive the service port number used for communication by the proxy server.

SdaiString

*proxyServerName

Variable that will receive the name or IP-address of the machine hosting the proxy service.

Return Value


Error rendering macro 'excerpt-include' : User 'null' does not have permission to view the page 'US:_r_EDMInterface'.

Options


 

Example


 

 EdmiError rstat;
 SdaiString comType;
 SdaiString srvPort;
 SdaiString srvHost;
 SdaiString tnlName;
 SdaiString tnlPort;
 SdaiString tnlHost;
 SdaiString prxPort;
 SdaiString prxHost;
 . . .
 if (rstat = edmiGetCommunicationEX(&comType, &srvPort, &srvHost,
 &tnlName, &tnlPort, &tnlHost, 
 &prxPort, &prxHost)) { 
 printf("\nError %d in edmiGetCommunicationEX: %s", rstat, 
 edmiGetErrorText(rstat)); 
 goto err; 
 }
 printf("\n Communication Type : %s", comType);
 printf("\n EDM Server : %s", srvHost);
 printf("\n Port Number : %s", srvPort);
 printf("\n Http Tunnel : %s", tnlName ? tnlName : "<unset>");
 printf("\n Http Tunnel Server : %s", tnlHost ? tnlHost : "<unset>");
 printf("\n Port Number : %s", tnlPort ? tnlPort : "<unset>");
 printf("\n Proxy Server : %s", prxHost ? prxHost : "<unset>");
 printf("\n Proxy Port : %s", prxPort ? prxPort : "<unset>");
 . . .

 

See also

Filter by label

There are no items with the selected labels at this time.

Â