executeRpc() |
gov.va.med.vistalink.rpc.RpcResponse
executeRPC(gov.va.med.vistalink.rpc.RpcRequest request) throws
gov.va.med.vistalink.adapter.record.VistaLinkFaultException,
gov.va.med.exception.FoundationsException:
Executes an interaction with M using the RpcResponseFactory to construct a
response.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
request |
Input |
gov.va.med.vistalink.rpc.RpcRequest: The request
being made.
|
return |
Output |
returns gov.va.med.vistalink.rpc.RpcResponse: the
response that is returned
|
throws |
Output |
throws: VistaLinkFaultException - thrown if an error
occurred on M while processing the request. FoundationsException - thrown if
an internal adapter exception has occurred.
|
|
getConnectionInfo() |
gov.va.med.vistalink.adapter.spi.VistaLinkServerInfo
getConnectionInfo():
Returns connection information about the host. The return value represents M
VistA information for the connection, like address and port. For developer
debugging.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
return value |
Output |
gov.va.med.vistalink.adapter.spi.VistaLinkServerInfo:
value object containing information about the Vista Server connection.
|
|
getTimeOut() |
int getTimeOut(): Returns current connection time out
value.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
return |
Output |
returns int: time out value in milliseconds.
|
|
setTimeOut() |
void setTimeOut(int timeOut): Enables application to
set time out for read operations on connections.
|
VARIABLES |
TYPE |
VARIABLES DESCRIPTION |
timeOut |
Input |
int: time out value to set in milliseconds. This
timeout value is compared to the default value usually used for the
connection. The greater of the two values will be used.
|
|