Google

Go to the first, previous, next, last section, table of contents.


ox_launch_generic

ox_launch_generic(host,launch,server,use_unix,use_ssh,use_x,conn_to_serv)
:: Initialize OpenXM servers.
return
integer
host
string or 0
launcher, server
string
use_unix, use_ssh, use_x, conn_to_serv
integer
  • ox_launch_generic() invokes a control process launch and a server process server on host. The other arguments are switches for protocol family selection, on/off of the X environment, method of process invocation and selection of connection type.
  • If host is equal to 0, processes are invoked on the same machine as the Asir is running. In this case UNIX internal protocol is always used.
  • If use_unix is equal to 1, UNIX internal protocol is used. If use_unix is equal to 0, Internet protocol is used.
  • If use_ssh is equal to 1,`ssh' (Secure Shell) is used to invoke processes. If one does not use `ssh-agent', a password (passphrase) is required. If `sshd' is not running on the target machine, `rsh' is used instead. But it will immediately fail if a password is required.
  • If use_x is equal to 1, it is assumed that X environment is available. In such a case server is invoked under `xterm' by using the current DISPLAY variable. If DISPLAY is not set, it is invoked without X. Note that the processes will hang up if DISPLAY is incorrectly set.
  • If conn_to_serv is equal to 1, Asir (client) executes bind and listen, and the invoked processes execute connect. If conn_to_serv is equal to 0, Asir (client) the invoked processes execute bind and listen, and the client executes connect.
[342] LIB=get_rootdir();
/export/home/noro/ca/Kobe/build/OpenXM/lib/asir
[343] ox_launch_generic(0,LIB+"/ox_launch",LIB+"/ox_asir",0,0,0,0);
1
[344] ox_launch_generic(0,LIB+"/ox_launch",LIB+"/ox_asir",1,0,0,0);
2
[345] ox_launch_generic(0,LIB+"/ox_launch",LIB+"/ox_asir",1,1,0,0);
3
[346] ox_launch_generic(0,LIB+"/ox_launch",LIB+"/ox_asir",1,1,1,0);
4
[347] ox_launch_generic(0,LIB+"/ox_launch",LIB+"/ox_asir",1,1,1,1);
5
[348] ox_launch_generic(0,LIB+"/ox_launch",LIB+"/ox_asir",1,1,0,1);
6
References
section ox_launch, ox_launch_nox, ox_shutdown, section ox_launch_generic


Go to the first, previous, next, last section, table of contents.