xdrpp
RFC4506 XDR compiler and message library
Classes | Namespaces | Typedefs | Functions
srpc.h File Reference

Simple synchronous RPC functions. More...

#include <xdrpp/exception.h>
#include <xdrpp/server.h>
Include dependency graph for srpc.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  xdr::synchronous_client_base
 Synchronous file descriptor demultiplexer. More...
 
class  xdr::srpc_service< T, Session, Interface >
 
class  xdr::srpc_server
 Attach RPC services to a single, connected stream socket. More...
 

Namespaces

 xdr
 Most of the xdrpp library is encapsulated in the xdr namespace.
 

Typedefs

template<typename T >
using xdr::srpc_client = typename T::template _xdr_client< synchronous_client_base >
 Create an RPC client from an interface type and connected stream socket. More...
 
template<typename Session = void, typename SessionAllocator = session_allocator<Session>>
using xdr::srpc_tcp_listener = generic_rpc_tcp_listener< srpc_service, Session, SessionAllocator >
 

Functions

msg_ptr xdr::read_message (sock_t s)
 
void xdr::write_message (sock_t s, const msg_ptr &m)
 
void xdr::prepare_call (uint32_t prog, uint32_t vers, uint32_t proc, rpc_msg &hdr)
 
template<typename P >
void xdr::prepare_call (rpc_msg &hdr)
 

Detailed Description

Simple synchronous RPC functions.

Definition in file srpc.h.