public class RpcRequestFactory extends Object implements VistaLinkRequestFactory
J2SE Example:
//The Rpc Context
//The Rpc to call
//Construct the request object
//Execute the Rpc and get the response
//Work with the response ...
//request and response objects
RpcRequest vReq = null;
RpcResponse vResp = null;
String rpcContext = "XOBV VISTALINK TESTER";
String rpcName = "XOBV TEST PING";
vReq = RpcRequestFactory.getRpcRequest(rpcContext, rpcName);
vResp = myConnection.executeRPC(vReq);
| Constructor and Description |
|---|
RpcRequestFactory() |
| Modifier and Type | Method and Description |
|---|---|
static RpcRequest |
getRpcRequest()
Creates a RpcRequest with a null RpcContext and RpcName
|
static RpcRequest |
getRpcRequest(String rpcContext)
Creates a RpcRequest with the specified RpcContext and a null RpcName.
|
static RpcRequest |
getRpcRequest(String rpcContext,
String rpcName)
Creates appropriate rpc request object to be passed into the connection.
|
public static RpcRequest getRpcRequest() throws FoundationsException
FoundationsExceptionpublic static RpcRequest getRpcRequest(String rpcContext) throws FoundationsException
rpcContext - FoundationsExceptionpublic static RpcRequest getRpcRequest(String rpcContext, String rpcName) throws FoundationsException
rpcContext - rpcName - FoundationsExceptionCopyright © 2026. All rights reserved.