Class ServerRPCService
- java.lang.Object
-
- org.epics.pvaccess.server.impl.remote.rpc.ServerRPCService
-
- All Implemented Interfaces:
RPCService
,Service
public class ServerRPCService extends Object implements RPCService
-
-
Field Summary
Fields Modifier and Type Field Description protected Map<String,org.epics.pvaccess.server.impl.remote.rpc.ServerRPCService.Op>
ops
protected ServerContextImpl
serverContext
-
Constructor Summary
Constructors Constructor Description ServerRPCService(ServerContextImpl serverContext)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.epics.pvdata.pv.PVStructure
request(org.epics.pvdata.pv.PVStructure args)
RPC call request.
-
-
-
Field Detail
-
serverContext
protected final ServerContextImpl serverContext
-
-
Constructor Detail
-
ServerRPCService
public ServerRPCService(ServerContextImpl serverContext)
-
-
Method Detail
-
request
public org.epics.pvdata.pv.PVStructure request(org.epics.pvdata.pv.PVStructure args) throws RPCRequestException
Description copied from interface:RPCService
RPC call request. Implementation of this method should read arguments encoded in aPVStructure
and return a result also in a form ofPVStructure
. In case of an error aRPCRequestException
exception should be thrown.- Specified by:
request
in interfaceRPCService
- Parameters:
args
- RPC request arguments.- Returns:
- RPC request result.
- Throws:
RPCRequestException
- thrown in a case of an error.
-
-