pvAccessCPP  7.1.7
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Groups Pages
Public Types | 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 Types

typedef std::tr1::shared_ptr
< RPCServer
shared_pointer
 
typedef std::tr1::shared_ptr
< const RPCServer
const_shared_pointer
 
typedef std::tr1::weak_ptr
< RPCServer
weak_pointer
 
typedef std::tr1::weak_ptr
< const RPCServer
const_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>. 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

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: