![]() |
T4S4
19.1 C8540 A23673
Teamcenter Gateway for SAP S/4HANA API Reference
|
Functions | |
tpco_closeAllECMD | |
This function closes all pipe handles. More... | |
tpco_closeECMD | |
This function closes a pipe handle. More... | |
tpco_getECMDState | |
This function gets the status from a pipe handle. More... | |
tpco_openECMD | |
This function opens a pipe handle. More... | |
tpco_receiveECMD | |
This function receives a command and executes it. More... | |
tpco_registerECMD | |
This function registers a pipe command. More... | |
tpco_sendECMD | |
This function sends a command to a pipe-server and receives the result. More... | |
tpco_sendECMD2 | |
This function sends a command to a pipe-server and receives the result. More... | |
tpco_closeAllECMD |
This function closes all pipe handles.
If a pipe is closed, the pipe-server stops.
tpco_closeECMD |
This function closes a pipe handle.
If the pipe is closed, the pipe-server stops.
handle-id | the pipe handle |
shutdown | flag if the shutdown flag is set then the exit command wait for running commands on the pipe-server. The shutdown flag blocks the pipe server for new commands ! |
exit-tout | (optional default=10) after n-sec, the stop function kills the pipe-server PID |
tpco_getECMDState |
This function gets the status from a pipe handle.
handle-id | the pipe handle |
tpco_openECMD |
This function opens a pipe handle.
pipe-name | the name of the pipe (description) |
pipe-server | the pipe server with all process arguments |
idle-timeout | (optional) stop the pipe after n-seconds (default 0 - never stop the pipe) |
pipe client with tpco_openECMD (pipe server see tpco_receiveECMD example)
tpco_receiveECMD |
This function receives a command and executes it.
pipe server with tpco_receiveECMD master loop.
tpco_registerECMD |
This function registers a pipe command.
cmdname | the pipe cmd-name |
proc | tcl-function name |
Register the pipe command pipecmd_sum
and bind this to the tcl function sum
.
tpco_sendECMD |
This function sends a command to a pipe-server and receives the result.
handle-id | the pipe handle |
timeout | the max runtime (seconds) of the command |
command | the pipe-command |
args | tcl-list of the pipe-command arguments |
tpco_sendECMD2 |
This function sends a command to a pipe-server and receives the result.
handle-id | the pipe handle |
timeout | the max runtime (seconds) of the command |
command | the pipe-command |
args | pipe-command arguments as tcl command args |