...
Code Block | ||||
---|---|---|---|---|
| ||||
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
...
Type | Name | Comment | |
SdaiString | *communicationType | Variable that will receive the nature of the communication with an EDMserver. Possible communication types are;
| |
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 | Servlet. |
SdaiString | *edmiHttpTunnelPortNumber | Variable that will receive the tunnel service port number on the machine hosting the HTTP Tunnel | Servlet. |
SdaiString | *edmiHttpTunnelHostName | Variable that will receive the name or IP-address of the machine hosting the HTTP Tunnel | Servlet. |
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
...
Insert excerpt | ||||||
---|---|---|---|---|---|---|
|
Options
...
Example
...
Code Block | ||
---|---|---|
| ||
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 (Content by label) | ||||||
---|---|---|---|---|---|---|
|