open

open();

The open method of the NamedPipe class attempts to open the client end of an offered connection and returns immediately, if successful. If the connection attempt fails, an exception is raised. The Windows implementation of the Named Pipe connection does not allow the client side of the connection to wait for the offer to be made.

An exception is raised if this method is invoked from a server method when the server node is not running under a Windows operating system that supports services.

The open method can be called only when the value of the Connection superclass state property is Disconnected (0).

The connection is established by opening a pipe name using the contents of the Connection superclass name property. Each end of the named pipe must open the pipe by using the same name.

The pipe can be opened across a network, by specifying the name of the server end of the pipe in the serverName property. If the processes opening both ends of the pipe are on the same workstation, the serverName property must be set to null or to the name of the current workstation.

The Connection superclass fillReadBuffer property determines whether the pipe is opened in bytes or in message mode. Both ends of the pipe must use the same mode.

The value of the state property changes to Connected (2) when the connection is open.

Multiple instances of the pipe can be opened by the same process, or by multiple copies of the Jade application running from the same jade.exe executable program.