The X-Windows Information Sharing Protocol (ISP) Widget Class ("Class" is used here in the object-oriented -programming sense of the word) was devised to simplify the task of implementing ISP graphical-user-interface (GUI) computer programs. ISP programming tasks require many method calls to identify, query, and interpret the connections and messages exchanged between a client and an ISP server. Most X-Windows GUI programs use widget sets or toolkits to facilitate management of complex objects. The widget standards facilitate construction of toolkits and application programs. The X-Windows Information Sharing Protocol (ISP) Widget Class encapsulates the client side of the ISP programming libraries within the framework of an X-Windows widget. Using the widget framework, X-Windows GUI programs can interact with ISP services in an abstract way and in the same manner as that of other graphical widgets, making it easier to write ISP GUI client programs. Wrapping ISP client services inside a widget framework enables a programmer to treat an ISP server interface as though it were a GUI. Moreover, an alternate subclass could implement another communication protocol in the same sort of widget.

This program was written by Matthew R. Barry of United Space Alliance for Johnson Space Center. For further information, contact the Johnson Innovative Partnerships Office at (281) 483-3809. MSC-23583

NASA Tech Briefs Magazine

This article first appeared in the February, 2006 issue of NASA Tech Briefs Magazine.

Read more articles from the archives here.