RpcWriter(3)

RpcWriter3

Write rpc requests to a server

Usage

#include <Dispatch/rpcwriter.h>

Overview

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.

Constructors

RpcWriter(const char* path, boolean fatal, boolean binary)
RpcWriter(const char* host, int port, boolean fatal, boolean binary)
RpcWriter(int fd, boolean fatal, boolean binary)
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.

Releases

Unchanged in 2 releases since Debian 2.2 (Potato).

  1. 2.2–3.1

From ivtools-dev 1.1.3-4 in Debian 3.1 (Sarge). Parsed by carta from the page's man source.