Interface RPCService

  • All Superinterfaces:
    Service
    All Known Implementing Classes:
    ServerRPCService

    public interface RPCService
    extends Service
    Interface defining a service.
    Author:
    msekoranja
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      org.epics.pvdata.pv.PVStructure request​(org.epics.pvdata.pv.PVStructure args)
      RPC call request.
    • Method Detail

      • request

        org.epics.pvdata.pv.PVStructure request​(org.epics.pvdata.pv.PVStructure args)
                                         throws RPCRequestException
        RPC call request. Implementation of this method should read arguments encoded in a PVStructure and return a result also in a form of PVStructure. In case of an error a RPCRequestException exception should be thrown.
        Parameters:
        args - RPC request arguments.
        Returns:
        RPC request result.
        Throws:
        RPCRequestException - thrown in a case of an error.