VistALink v1.5.0.026

gov.va.med.vistalink.adapter.record
Class VistaLinkRequestVOImpl

java.lang.Object
  extended bygov.va.med.vistalink.adapter.record.VistaLinkRequestVOImpl
All Implemented Interfaces:
VistaLinkRequestVO
Direct Known Subclasses:
RpcRequest

public class VistaLinkRequestVOImpl
extends java.lang.Object
implements VistaLinkRequestVO

Base request implementation. Applications usually use a specific subclass of this implementation.

Version:
1.5.0.026
Author:
Application Modernization - Foundations Team

Constructor Summary
VistaLinkRequestVOImpl()
          Constructor for VistaLinkRequestVOImpl.
VistaLinkRequestVOImpl(org.w3c.dom.Document requestDoc)
          Constructor for VistaLinkRequestVOImpl.
 
Method Summary
 java.lang.String getRequestString()
          Returns request XML data as a String.
 VistaLinkRequestRetryStrategy getRetryStrategy()
          Returns current retry strategy reference
 int getTimeOut()
          Returns time out value used for communications to RPC server
 void setRetryStrategy(VistaLinkRequestRetryStrategy retryStrategy)
          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 a specific time out for communications to RPC server A timeout value of 0 (zero) indicates that no specific time out for the request has been specified.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

VistaLinkRequestVOImpl

public VistaLinkRequestVOImpl()
Constructor for VistaLinkRequestVOImpl.

See Also:
Object.Object()

VistaLinkRequestVOImpl

public VistaLinkRequestVOImpl(org.w3c.dom.Document requestDoc)
Constructor for VistaLinkRequestVOImpl.

Parameters:
requestDoc -
Method Detail

getRequestString

public java.lang.String getRequestString()
                                  throws FoundationsException
Returns request XML data as a String.

Specified by:
getRequestString in interface VistaLinkRequestVO
Returns:
String represents the request to M
Throws:
FoundationsException
See Also:
VistaLinkRequestVO.getRequestString()

getTimeOut

public int getTimeOut()
Returns time out value used for communications to RPC server

Specified by:
getTimeOut in interface VistaLinkRequestVO
Returns:
int time out value in milli-seconds

setTimeOut

public void setTimeOut(int timeOut)
Enables application to set a specific time out for communications to RPC server

A timeout value of 0 (zero) indicates that no specific time out for the request has been specified. The time out value associated with the socket will be used during socket read operations.

Specified by:
setTimeOut in interface VistaLinkRequestVO
Parameters:
timeOut - time out value to set in milli-seconds.

getRetryStrategy

public VistaLinkRequestRetryStrategy getRetryStrategy()
Description copied from interface: VistaLinkRequestVO
Returns current retry strategy reference

Specified by:
getRetryStrategy in interface VistaLinkRequestVO
Returns:
VistaLinkRequestRetryStrategy instance reference

setRetryStrategy

public void setRetryStrategy(VistaLinkRequestRetryStrategy retryStrategy)
Description copied from interface: VistaLinkRequestVO
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.

Specified by:
setRetryStrategy in interface VistaLinkRequestVO

VistALink v1.5.0.026

VistALink v1.5.0.026