Scroll to navigation

rpcstream(3I) InterViews Reference Manual rpcstream(3I)

NAME

rpcstream - iostreamb specialized to RPC requests

SYNOPSIS

#include <Dispatch/rpcstream.h>

DESCRIPTION

rpcstream, irpcstream, and orpcstream specialize iostream, istream,and ostream, respectively, to RPC requests. That is, theassociated streambuf will be an rpcbuf. Conversions will be formatted(that is, ASCII) so datums will need to be separated by spacecharacters.

CONSTRUCTORS

Construct an unopened rpcstream.

PUBLICOPERATIONS

Create a connection. Any failure sets ios::failbit in the errorstate.
Accept a pending connection and return the new file descriptor.
Attach to a pre-existing connection.
Break a connection. The error state is cleared except on failure.
Enable or disable non-blocking I/O and/or printing of error messages.
Return a pointer to the rpcbuf created by the rpcstream.
Get or set a flag. Used by the operations that insert an RpcHdr intoan rpcstream or extract an RpcHdr from an rpcstream.

SEEALSO

IOS.INTRO(3C++),iostreamb(3I),rpcbuf(3I)

27 March 1991 InterViews