pvAccessCPP 7.1.8
Loading...
Searching...
No Matches
epics::pvAccess::RPCServer Class Reference

Serves (only) RPCServiceAsync and RPCService instances. More...

#include <rpcService/pv/rpcServer.h>

Public Types

typedef std::tr1::shared_ptr< RPCServershared_pointer
 
typedef std::tr1::shared_ptr< const RPCServerconst_shared_pointer
 
typedef std::tr1::weak_ptr< RPCServerweak_pointer
 
typedef std::tr1::weak_ptr< const RPCServerconst_weak_pointer
 

Public Member Functions

 RPCServer (const Configuration::const_shared_pointer &conf=Configuration::const_shared_pointer())
 
void registerService (std::string const &serviceName, RPCServiceAsync::shared_pointer const &service)
 
void unregisterService (std::string const &serviceName)
 
void run (int seconds=0)
 
void runInNewThread (int seconds=0)
 Method requires usage of std::tr1::shared_ptr<RPCServer>.
 
void destroy ()
 
void printInfo ()
 Display basic information about the context.
 
const std::tr1::shared_ptr< ServerContext > & getServer () const
 

Detailed Description

Serves (only) RPCServiceAsync and RPCService instances.

Definition at line 35 of file rpcServer.h.

Member Typedef Documentation

◆ const_shared_pointer

std::tr1::shared_ptr<const RPCServer> epics::pvAccess::RPCServer::const_shared_pointer

Definition at line 44 of file rpcServer.h.

◆ const_weak_pointer

std::tr1::weak_ptr<const RPCServer> epics::pvAccess::RPCServer::const_weak_pointer

Definition at line 44 of file rpcServer.h.

◆ shared_pointer

std::tr1::shared_ptr<RPCServer> epics::pvAccess::RPCServer::shared_pointer

Definition at line 44 of file rpcServer.h.

◆ weak_pointer

std::tr1::weak_ptr<RPCServer> epics::pvAccess::RPCServer::weak_pointer

Definition at line 44 of file rpcServer.h.

Member Function Documentation

◆ getServer()

const std::tr1::shared_ptr< ServerContext > & epics::pvAccess::RPCServer::getServer ( ) const
inline

Definition at line 67 of file rpcServer.h.

◆ runInNewThread()

void epics::pvAccess::RPCServer::runInNewThread ( int seconds = 0)

Method requires usage of std::tr1::shared_ptr<RPCServer>.

This instance must be owned by a shared_ptr instance.


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