Using the NamedPipe Connection Class

Within JADE, you establish a connection and send or receive data programmatically. The Connection class defines all of the methods that you require for external communications. The NamedPipe class is a subclass of the Connection class and is specifically for external communication through the Windows NamedPipe facility. When using the Connection class, note the following restrictions.

The NamedPipe class supports both synchronous and asynchronous operations, as follows.

Only one synchronous or asynchronous read operation can be in effect at each end of each instance of the pipe. Multiple asynchronous write operations can be in effect.

Opening the server end of the pipe waits until the other end of the pipe is connected. Opening the client end of the pipe fails immediately if the server end of the pipe has not been offered.