pvAccessCPP  7.1.7-dev
Public Member Functions | List of all members
epics::pvAccess::RPCServer Class Reference

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

#include <rpcService/pv/rpcServer.h>

Inherits enable_shared_from_this< RPCServer >.

Public Member Functions

 POINTER_DEFINITIONS (RPCServer)
 
 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>. More...
 
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 Function Documentation

◆ 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: