|
VistALink v1.5.0.026 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.va.med.vistalink.rpc.RpcRequestFactory
Factory class to creates instances of RpcRequest
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 Summary | |
RpcRequestFactory()
|
Method Summary | |
static RpcRequest |
getRpcRequest()
Creates a RpcRequest with a null RpcContext and RpcName |
static RpcRequest |
getRpcRequest(java.lang.String rpcContext)
Creates a RpcRequest with the specified RpcContext and a null RpcName. |
static RpcRequest |
getRpcRequest(java.lang.String rpcContext,
java.lang.String rpcName)
Creates appropriate rpc request object to be passed into the connection. |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RpcRequestFactory()
Method Detail |
public static RpcRequest getRpcRequest() throws FoundationsException
FoundationsException
public static RpcRequest getRpcRequest(java.lang.String rpcContext) throws FoundationsException
rpcContext
-
FoundationsException
public static RpcRequest getRpcRequest(java.lang.String rpcContext, java.lang.String rpcName) throws FoundationsException
rpcContext
- rpcName
-
FoundationsException
|
VistALink v1.5.0.026 | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |