VistALink v1.5.0.026

gov.va.med.vistalink.adapter.record
Interface VistaLinkRequestVO

All Known Implementing Classes:
VistaLinkRequestVOImpl

public interface VistaLinkRequestVO

Base request interface

Version:
1.5.0.026
Author:
Application Modernization - Foundations Team

Method Summary
 java.lang.String getRequestString()
          Returns request string that is written to the socket sent to MUMPS.
 VistaLinkRequestRetryStrategy getRetryStrategy()
          Returns current retry strategy reference
 int getTimeOut()
          Returns current connection time out value
 void setRetryStrategy(VistaLinkRequestRetryStrategy strategy)
          Enables application to set retry strategy in request executed failed because of socket failure or other system type problems.
 void setTimeOut(int timeOut)
          Enables application to set time out for read operations on connections.
 

Method Detail

getRequestString

public java.lang.String getRequestString()
                                  throws FoundationsException
Returns request string that is written to the socket sent to MUMPS.

Returns:
String represents the request to M
Throws:
FoundationsException
 
NOT FOR PUBLIC USE
This constructor, method or field is not for public use.

getTimeOut

public int getTimeOut()
Returns current connection time out value

Returns:
int Time out value in milli-seconds

setTimeOut

public void setTimeOut(int timeOut)
Enables application to set time out for read operations on connections.

Parameters:
timeOut - Time out value to set in milli-seconds. This timeout value is compared to the default value usually used for the connection. The greater of the two values will be used.

getRetryStrategy

public VistaLinkRequestRetryStrategy getRetryStrategy()
Returns current retry strategy reference

Returns:
VistaLinkRequestRetryStrategy instance reference

setRetryStrategy

public void setRetryStrategy(VistaLinkRequestRetryStrategy strategy)
Enables application to set retry strategy in request executed failed because of socket failure or other system type problems. The strategy detemines if the retry should be attempted.


VistALink v1.5.0.026

VistALink v1.5.0.026