RpcWriter - write RPC requests to a server
Contents
Constructors
RpcWriter(constchar*path,booleanfatal,booleanbinary)RpcWriter(constchar*host,intport,booleanfatal,booleanbinary)RpcWriter(intfd,booleanfatal,booleanbinary)RpcWriter(rpcstream*server)
Open a connection to an RPC service at its registered host name and port number, or give the host
name and port number needed to open a connection to the RPC service, or give the number of an
already open file descriptor, or give the address of an already open rpcstream (connection).
Negotiate the I/O format (binary or formatted) if opening a connection. Terminate the program if
errors should be fatal.
Description
An RpcWriter (actually, an instance of a class derived from RpcWriter) writes RPC requests to a server.
Derived classes should add member functions that send RPC requests corresponding to the RPC service's
protocol.
Name
RpcWriter - write RPC requests to a server
See Also
RpcHdr(3I), RpcRegistry(3I), rpcstream(3I) InterViews 27 March 1991 RpcWriter(3I)
Synopsis
#include<Dispatch/rpcwriter.h>
