Class RPCClientFactory


  • public class RPCClientFactory
    extends Object
    The factory to create a RPCClient.
    Author:
    mrk
    • Constructor Detail

      • RPCClientFactory

        public RPCClientFactory()
    • Method Detail

      • create

        public static RPCClient create​(String serviceName)
        Create a RPCClient and connect to the service.
        Parameters:
        serviceName - The service name. This is the name of the channel that connects to the service.
        Returns:
        The RPCClient interface.
      • create

        public static RPCClient create​(String serviceName,
                                       RPCClientRequester requester)
        Create a RPCClient and connect to the service.
        Parameters:
        serviceName - The service name. This is the name of the channel that connects to the service.
        requester - The RPCClientRequester interface implemented by the requester.
        Returns:
        The RPCClient interface.
      • create

        public static RPCClient create​(String serviceName,
                                       org.epics.pvdata.pv.PVStructure pvRequest)
        Create a RPCClient and connect to the service.
        Parameters:
        serviceName - The service name. This is the name of the channel that connects to the service.
        pvRequest - The structure sent in the request to create the Channel RPC.
        Returns:
        The RPCClient interface.
      • create

        public static RPCClient create​(String serviceName,
                                       org.epics.pvdata.pv.PVStructure pvRequest,
                                       RPCClientRequester requester)
        Create a RPCClient and connect to the service.
        Parameters:
        serviceName - The service name. This is the name of the channel that connects to the service.
        pvRequest - The structure sent in the request to create the Channel RPC.
        requester - The RPCClientRequester interface implemented by the requester.
        Returns:
        The RPCClient interface.