1deleg_proc(n) Interpreter utilities deleg_proc(n)
2
3
4
5______________________________________________________________________________
6
8 deleg_proc - Creation of comm delegates (procedures)
9
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
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
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
41 This document, and the package it describes, will undoubtedly contain
42 bugs and other problems. Please report such in the category interp of
43 the Tcllib SF Trackers [http://source‐
44 forge.net/tracker/?group_id=12883]. Please also report any ideas for
45 enhancements you may have for either package and/or documentation.
46
48 comm, delegation, interpreter, procedure
49
51 Copyright (c) 2006 Andreas Kupries <andreas_kupries@users.sourceforge.net>
52
53
54
55
56interp 0.2 deleg_proc(n)