1deleg_proc(n)                Interpreter utilities               deleg_proc(n)
2
3
4
5______________________________________________________________________________
6

NAME

8       deleg_proc - Creation of comm delegates (procedures)
9

SYNOPSIS

11       package require Tcl  8.3
12
13       package require interp::delegate::proc  ?0.2?
14
15       ::interp::delegate::proc ?-async? name arguments comm id
16
17_________________________________________________________________
18

DESCRIPTION

20       This  package  provides a single command for the convenient creation of
21       procedures which delegate the actual work to a remote  location  via  a
22       "channel" created by the package comm.
23

API

25       ::interp::delegate::proc ?-async? name arguments comm id
26              This  commands  creates  a  procedure which is named by name and
27              returns its fully-qualified name. All invokations of this proce‐
28              dure  will delegate the actual work to the remote location iden‐
29              tified by the comm channel comm and the endpoint id.
30
31              The name of the remote procedure invoked  by  the  delegator  is
32              [namespace  tail  name]. I.e., namespace information is stripped
33              from the call.
34
35              Normally the generated procedure marshalls  the  arguments,  and
36              returns  the result from the remote procedure as its own result.
37              If however the option -async was specified  then  the  generated
38              procedure will not wait for a result and return immediately.
39

KEYWORDS

41       comm, delegation, interpreter, procedure
42
44       Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net>
45
46
47
48
49interp                                0.2                        deleg_proc(n)
Impressum