PipeServer.read Method [AX 2012]

Reads data from the named pipe, written to by a pipe client.

public str read()

Run On

Called

Return Value

Type: str
The data read from the pipe, if any.

Data might not be available when this method is called, and it could be that no client has connected to the named pipe. If you want to wait for a client to connect, use the connect method. However, if you do not want to block the current thread waiting for a client to connect, poll by using the read method.

Community Additions

ADD
Show: