Versions Compared

Key

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

...

 

Code Block
languagecpp
themeConfluence
EdmiError edmiDefineCommunicationEX(SdaiString communicationType,
                                     SdaiString edmServerPortNumber,
                                     SdaiString edmServerHostName,
                                     SdaiString edmiHttpTunnelName,
                                     SdaiString edmiHttpTunnelPortNumber,
                                     SdaiString edmiHttpTunnelHostName,
                                     SdaiString proxyServerPortNumber,
                                     SdaiString proxyServerName);

Defines the EDMInterface communication parameters to be used for communication between a thick EDMclient and an EDMserver.

...

The defined communication will be stateful and non-transaction oriented. After defining the communication parameters, the EDMclient must explicitly connect to the EDMdatabase, via an EDMserver by edmiConnect.

...

Only one set of communication parameters may be active at the same time. To connect to another EDMserver, the EDMclient must first disconnect from the EDMdatabase and then redefine the communication parameters before reconnecting.

...



 

Arguments

...

TypeNameComment
SdaiString

communicationType

The desired nature of the communication with the EDMserver. Valid communication types are;
"HTTP": Stateful non-transaction oriented communication with the EDMserver by the Hyper Text Transfer Protocol.
"TCP": Stateful non-transaction oriented communication with a remote EDMserver by the Transfer Communication Protocol.

SdaiString

edmServerPortNumber

The service port number used for communication by the EDMserver. Mandatory for both the http and the tcp communication types.

SdaiString

edmServerHostName

The name or IP-address of the machine hosting the EDMserver. Mandatory for both the http and the tcp communication types.

SdaiString

edmiHttpTunnelName

The name and full path of the HTTP Tunnel Servlet. Valid only for the http communication type.

SdaiString

edmiHttpTunnelPortNumber

The tunnel service port number on the machine hosting the HTTP Tunnel Servlet. Valid only for the http communication type.

SdaiString

edmiHttpTunnelHostName

The name or IP-address of the machine hosting the HTTP Tunnel Servlet. Valid only for the http communication type.

SdaiString

proxyServerPortNumber

The service port number used for communication by the proxy server. Valid for both the http and the tcp communication types.

SdaiString

proxyServerName

The name or IP-address of the machine hosting the proxy service. Valid for both the http and the tcp communication types.

...

Return Value

...

Insert excerpt
US:_r_EDMInterface
US:_r_EDMInterface
nopaneltrue

 

Options

...

  

 

Example

...

 

Code Block
languagecpp
 EdmiError rstat;
 SdaiUnsignedInt serverContextId;
 . . .
 if (rstat = edmiDefineCommunicationEx("TCP", "9090", "MyEdmServer",

...


 "/http/MyHttpTunnel", "7408", "192.136.64.13",

...

 
 "1120", "OurProxyServer")) {

...

 
 printf("\nError %d in edmiDefineCommunicationEx", rstat);

...

 
 goto err;

...

 
 }
 . . .

 

See also

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