EPICS exampleCPP/helloRPC

2016.08.30

Abstract

helloRPC implements a simple channelRPC service.

Table of Contents


Running

Server

On linux in the helloRPC directory enter:

bin/$EPICS_HOST_ARCH/helloService

There is also a scripts/helloService.bat file for windows.

Client

On linux in the helloRPC directory the following are examples of running the client

bin/$EPICS_HOST_ARCH//helloClient
Hello anonymous
mrk> scripts/helloClient Me
Hello Me
mrk> 

Some Details

This is a starting point for writing an RPC service without using pvDatabaseJava.

But note that example database has a similar example implemented via pvDatabaseCPP, which allows clients to monitor the result of each request.