Browse Prior Art Database

Interfacing User Programs with Application Packages Using Named Pipes

IP.com Disclosure Number: IPCOM000106083D
Original Publication Date: 1993-Sep-01
Included in the Prior Art Database: 2005-Mar-20
Document File: 2 page(s) / 46K

Publishing Venue

IBM

Related People

Cooper, JW: AUTHOR

Abstract

As applications programs become more complex, the need to simplify the ability for integrators and users to extend them in a simple fashion becomes increasingly necessary. Disclosed is a simple method for adding function to existing application packages when they are written to include a specified programming interface.

This text was extracted from an ASCII text file.
This is the abbreviated version, containing approximately 71% of the total text.

Interfacing User Programs with Application Packages Using Named Pipes

      As applications programs become more complex, the need to
simplify the ability for integrators and users to extend them in a
simple fashion becomes increasingly necessary.  Disclosed is a simple
method for adding function to existing application packages when they
are written to include a specified programming interface.

      In this scenario, the user selects a command from the
application program which established communication with a predefined
named pipe.  Named pipes are available as part of both the OS/2* and
AIX* operating systems, and are part of all UNIX** systems.  They are
treated much as filenames are, with the exception that dynamic "live"
data can be exchanged over the pipe.

      The application program, in opening the predefined pipe then
queries existing processes to see if one is trying to establish
communication through this pipe.  While the underlying communication
scheme may be complex, at the programmer level this can be
accomplished in a single line of code.

Once pipe communication is established, the application program can:

1.  send data to the user program and wait for a reply, or
2.  wait for command strings from the user program and then either
    send or receive data.

Note that if the programs use predefined data types or methods for
determining data types, this approach provides an entirely general
method of data transmission without the externa...