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>opsprotected ServerContextImplserverContext
-
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.PVStructurerequest(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 RPCRequestExceptionDescription copied from interface:RPCServiceRPC call request. Implementation of this method should read arguments encoded in aPVStructureand return a result also in a form ofPVStructure. In case of an error aRPCRequestExceptionexception should be thrown.- Specified by:
requestin interfaceRPCService- Parameters:
args- RPC request arguments.- Returns:
- RPC request result.
- Throws:
RPCRequestException- thrown in a case of an error.
-
-