Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

Group: Remote Procedure Call
See also: rpclink rpcsendrequest rpcstartclient rpcstartserver rpcstopclient rpcstopserver rpcstoptimer systemcall

Function: rpcstarttimer
Description: rpcstarttimer starts a timer that checks for incoming

RPC requests from external clients.


Link:
Usage: rpcstarttimer (time, id, message)
Input:
time scalar
id scalar
message string

Note:

Example:



rpcstartserver ("0x43000000")

rpcstarttimer (100, 0, "XGobiTimer")

;

systemcall ("$XGOBIDIR/bin/xgobi -server 0x43000000 -client 0x42000000 -link xplore &")

systemcall ("sleep 5")

;

xg1 = rpcstartclient ("0x42000000")

;

rpcsendrequest (xg1, 11, "xplore 2 3", 10)

rpcsendrequest (xg1, 12, "1 2 3 4 5 6", 10)

rpcsendrequest (xg1, 13, "1203 2102 3304", 10)

rpcsendrequest (xg1, 14, "", 10)

Result:



Activates the XploRe RPC mechanism (server and client) and starts up XGobi as a client

(with three plotted symbols). Later, both programs can send RPC requests to each other.


Group: Remote Procedure Call
See also: rpclink rpcsendrequest rpcstartclient rpcstartserver rpcstopclient rpcstopserver rpcstoptimer systemcall

Keywords - Function groups - @ A B C D E F G H I J K L M N O P Q R S T U V W X Y Z

(C) MD*TECH Method and Data Technologies, 21.9.2000