| 1 |
|
| 2 |
<HTML> |
| 3 |
<HEAD> |
| 4 |
<TITLE>The XPA Help Facility</TITLE> |
| 5 |
</HEAD> |
| 6 |
<BODY> |
| 7 |
|
| 8 |
|
| 9 |
<H2><A NAME="xpa">XPA: Public Access to Data and Algorithms</A></H2> |
| 10 |
|
| 11 |
|
| 12 |
<H2>Summary</H2> |
| 13 |
This document is the Table of Contents for XPA. |
| 14 |
|
| 15 |
|
| 16 |
<H2>Description</H2> |
| 17 |
<P> |
| 18 |
The XPA messaging system provides seamless communication between many |
| 19 |
kinds of Unix programs, including X programs and Tcl/Tk programs. It |
| 20 |
also provides an easy way for users to communicate with XPA-enabled |
| 21 |
programs by executing XPA client commands in the shell or by utilizing |
| 22 |
such commands in scripts. Because XPA works both at the programming |
| 23 |
level and the shell level, it is a powerful tool for unifying any |
| 24 |
analysis environment: users and programmers have great flexibility in |
| 25 |
choosing the best level or levels at which to access XPA services, and |
| 26 |
client access can be extended or modified easily at any time. |
| 27 |
|
| 28 |
<P> |
| 29 |
A program becomes an XPA-enabled server by defining named points of |
| 30 |
public access through which data and commands can be exchanged with |
| 31 |
other client programs (and users). Using standard TCP sockets as a |
| 32 |
transport mechanism, XPA supports both single-point and broadcast |
| 33 |
messaging to and from these servers. It supports direct communication |
| 34 |
between clients and servers, or indirect communication via an |
| 35 |
intermediate message bus emulation program. Host-based access control |
| 36 |
is implemented, as is as the ability to communicate with XPA servers |
| 37 |
across a network. |
| 38 |
|
| 39 |
<P> |
| 40 |
XPA implements a layered interface that is designed to be useful both |
| 41 |
to software developers and to users. The interface consists of a |
| 42 |
library of XPA client and server routines for use in C/C++ programs and |
| 43 |
a suite of high-level user programs built on top of these libraries. |
| 44 |
Using the XPA library, access points can be added to Tcl/Tk programs, |
| 45 |
Xt programs, or to Unix programs that use the XPA event loop or any |
| 46 |
event loop based on select(). Client access subroutines can be added |
| 47 |
to any Tcl/Tk, Xt, or Unix program. Client access also is supported at |
| 48 |
the command line via a suite of high-level programs. |
| 49 |
|
| 50 |
<P> |
| 51 |
Choose from the following topics: |
| 52 |
|
| 53 |
<UL> |
| 54 |
<LI><A HREF="./intro.html">Introduction to XPA</A> |
| 55 |
|
| 56 |
<LI><A HREF="./template.html">Access Point Names and Templates</A> |
| 57 |
|
| 58 |
<LI><A HREF="./info.html">Getting Common Information About Access Points</A> |
| 59 |
|
| 60 |
<LI><A HREF="./method.html">Communication Methods</A> |
| 61 |
|
| 62 |
<LI><A HREF="./inet.html">Communication Between Hosts</A> |
| 63 |
|
| 64 |
<LI><A HREF="./users.html">Distinguishing Users</A> |
| 65 |
|
| 66 |
|
| 67 |
<LI><A HREF="./programs.html">XPA User Programs</A> |
| 68 |
<UL> |
| 69 |
<LI><A HREF="./programs.html#xpaget">xpaget: get data and info</A> |
| 70 |
|
| 71 |
<LI><A HREF="./programs.html#xpaset">xpaset: send data and info</A> |
| 72 |
|
| 73 |
<LI><A HREF="./programs.html#xpainfo">xpainfo: send info alert</A> |
| 74 |
|
| 75 |
<LI><A HREF="./programs.html#xpaaccess">xpaaccess: get access point info</A> |
| 76 |
|
| 77 |
<LI><A HREF="./xpamb.html">xpamb: message bus emulation</A> |
| 78 |
|
| 79 |
<LI><A HREF="./xpans.html">xpans: the XPA name server</A> |
| 80 |
|
| 81 |
</UL> |
| 82 |
|
| 83 |
<LI><A HREF="./server.html">XPA Server Routines</A> |
| 84 |
<UL> |
| 85 |
<LI><A HREF="./server.html#xpanew">XPANew: define a new access point</A> |
| 86 |
|
| 87 |
<LI><A HREF="./server.html#xpacmdnew">XPACmdNew: define a new command access point</A> |
| 88 |
|
| 89 |
<LI><A HREF="./server.html#xpacmdadd">XPACmdAdd: add a command</A> |
| 90 |
|
| 91 |
<LI><A HREF="./server.html#xpacmddel">XPACmdDel: delete a command</A> |
| 92 |
|
| 93 |
<LI><A HREF="./server.html#xpainfonew">XPAInfoNew: define an info access point</A> |
| 94 |
|
| 95 |
<LI><A HREF="./server.html#xpafree">XPAFree: free an access point</A> |
| 96 |
|
| 97 |
<LI><A HREF="./server.html#xpamainloop">XPAMainLoop: event loop for select server</A> |
| 98 |
|
| 99 |
<LI><A HREF="./server.html#xpapoll">XPAPoll: poll for XPA events</A> |
| 100 |
|
| 101 |
<LI><A HREF="./server.html#xpacleanup">XPACleanup: release reserved XPA memory</A> |
| 102 |
|
| 103 |
<LI><A HREF="./server.html#macros">XPA Server Macros: accessing structure internals</A> |
| 104 |
|
| 105 |
<LI><A HREF="./server.html#race">XPA Race Conditions: how to avoid them</A> |
| 106 |
|
| 107 |
<LI><A HREF="./oom.html">XPA Out of Memory (OOM) errors</A> |
| 108 |
|
| 109 |
</UL> |
| 110 |
|
| 111 |
<LI><A HREF="./client.html">XPA Client Routines</A> |
| 112 |
<UL> |
| 113 |
<LI><A HREF="./client.html#xpaopen">XPAOpen: open a persistent client connection</A> |
| 114 |
|
| 115 |
<LI><A HREF="./client.html#xpaclose">XPAClose: close persistent client connection</A> |
| 116 |
|
| 117 |
<LI><A HREF="./client.html#xpaget">XPAGet: get data</A> |
| 118 |
|
| 119 |
<LI><A HREF="./client.html#xpaset">XPASet: send data or commands</A> |
| 120 |
|
| 121 |
<LI><A HREF="./client.html#xpainfo">XPAInfo: send an info alert</A> |
| 122 |
|
| 123 |
<LI><A HREF="./client.html#xpagetfd">XPAGetFd: get data and write to an fd</A> |
| 124 |
|
| 125 |
<LI><A HREF="./client.html#xpasetfd">XPASetFd: read data from and fd and send</A> |
| 126 |
|
| 127 |
<LI><A HREF="./client.html#xpanslookup">XPANSLookup: look up an access point</A> |
| 128 |
|
| 129 |
<LI><A HREF="./client.html#xpaaccess">XPAAccess: get access info</A> |
| 130 |
|
| 131 |
<LI><A HREF="./xt.html">The XPA/Xt Interface: Xt interface to XPA</A> |
| 132 |
|
| 133 |
<LI><A HREF="./tcl.html">The XPA/Tcl Interface: Tcl interface to XPA</A> |
| 134 |
|
| 135 |
</UL> |
| 136 |
|
| 137 |
<LI> Tailoring the XPA Environment |
| 138 |
<UL> |
| 139 |
<LI><A HREF="./env.html">Environment Variables</A> |
| 140 |
|
| 141 |
<LI><A HREF="./acl.html">Access Control</A> |
| 142 |
|
| 143 |
</UL> |
| 144 |
|
| 145 |
<LI> Miscellaneous |
| 146 |
<UL> |
| 147 |
|
| 148 |
<LI><A HREF="./changelog.html">XPA ChangeLog</A> |
| 149 |
|
| 150 |
<LI><A HREF="./examples.html">Where to Find Example/Test Code</A> |
| 151 |
<LI><A HREF="./changes.html">User Changes Between XPA 1.0 and 2.0</A> |
| 152 |
<LI><A HREF="./convert.html">API Changes Between XPA 1.0 and 2.0</A> |
| 153 |
<LI><A HREF="./name.html">What Does XPA Stand For, Anyway?</A> |
| 154 |
</UL> |
| 155 |
|
| 156 |
</UL> |
| 157 |
|
| 158 |
|
| 159 |
|
| 160 |
<H5>Last updated: September 10, 2003</H5> |
| 161 |
</BODY> |
| 162 |
</HTML> |