cis_config
Public Member Functions | List of all members
PsiRpcServer Class Reference

C++ interface to psiRpc_t server-side functionality. More...

#include <PsiInterface.hpp>

Inheritance diagram for PsiRpcServer:
PsiRpc

Public Member Functions

 PsiRpcServer (const char *name, char *inFormat, char *outFormat)
 Constructor for PsiRpcServer. More...
 
- Public Member Functions inherited from PsiRpc
 PsiRpc (const char *outName, char *outFormat, const char *inName, char *inFormat)
 Constructor for PsiRpc. More...
 
psiRpc_t pi ()
 Return the psiRpc_t structure. More...
 
int send (int nargs,...)
 Format and send a message to an RPC output queue. See rpcSend from PsiInterface.h for details. More...
 
int recv (int nargs,...)
 Receive and parse a message from an RPC input queue. See rpcRecv from PsiInterface.h for details. More...
 

Detailed Description

C++ interface to psiRpc_t server-side functionality.

The PsiRpcServer class is a basic wrapper around the C psiRpc_t structure and associated server-side functions from the PsiInterface.h header. It provides the user with C++ style access to basic RPC server operations.

Constructor & Destructor Documentation

◆ PsiRpcServer()

PsiRpcServer::PsiRpcServer ( const char *  name,
char *  inFormat,
char *  outFormat 
)
inline

Constructor for PsiRpcServer.

Parameters
[in]nameconstant character pointer name used for input and output queues.
[in]inFormatcharacter pointer to format that should be used for parsing input.
[in]outFormatcharacter pointer to format that should be used for formatting output.

The documentation for this class was generated from the following file: