The methods defined in the NamedPipe class are summarized in the following table.
| Method | Description |
|---|---|
| close | Closes a connection to a remote application |
| closeAsynch | Closes a connection to a remote application and returns immediately |
| getMaxMessageSize | Gets the maximum message size that can be sent or received at one time |
| listen | Offers a connection to a remote application and returns when established |
| listenAsynch | Offers a connection to a remote application and returns immediately |
| open | Attempts to open the client end of a named pipe connection |
| openAsynch | Attempts to open a connection to a named pipe and returns immediately |
| readBinary | Reads binary data from the connection and returns when the data has been read |
| readBinaryAsynch | Initiates a read of binary data from the connection and returns immediately |
| writeBinary | Writes binary data to the connection and returns when the operation is complete |
| writeBinaryAsynch | Initiates a write of binary data to the connection and returns immediately |