Package org.epics.pvaccess.client.rpc
Class RPCClientFactory
- java.lang.Object
-
- org.epics.pvaccess.client.rpc.RPCClientFactory
-
public class RPCClientFactory extends Object
The factory to create a RPCClient.- Author:
- mrk
-
-
Constructor Summary
Constructors Constructor Description RPCClientFactory()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RPCClient
create(String serviceName)
Create a RPCClient and connect to the service.static RPCClient
create(String serviceName, RPCClientRequester requester)
Create a RPCClient and connect to the service.static RPCClient
create(String serviceName, org.epics.pvdata.pv.PVStructure pvRequest)
Create a RPCClient and connect to the service.static RPCClient
create(String serviceName, org.epics.pvdata.pv.PVStructure pvRequest, RPCClientRequester requester)
Create a RPCClient and connect to the service.
-
-
-
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.
-
-