|
VistALink v1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectgov.va.med.vistalink.adapter.record.VistaLinkRequestVOImpl
public class VistaLinkRequestVOImpl
Base request implementation. Applications usually use a specific subclass of this implementation.
Constructor Summary | |
---|---|
VistaLinkRequestVOImpl()
Constructor for VistaLinkRequestVOImpl. |
|
VistaLinkRequestVOImpl(org.w3c.dom.Document requestDoc)
Constructor for VistaLinkRequestVOImpl. |
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 time out value used for communications to M RPC server. |
void |
setRetryStrategy(VistaLinkRequestRetryStrategy retryStrategy)
Enables application to set retry strategy for request, to be used if request execution failed because of socket failure or other system type problems. |
void |
setTimeOut(int timeOut)
Enables application to set a request-specific time out for read operations on the connection, for the request. |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public VistaLinkRequestVOImpl()
Object.Object()
This constructor, method or field is not for public use. |
public VistaLinkRequestVOImpl(org.w3c.dom.Document requestDoc)
requestDoc
- This constructor, method or field is not for public use. |
Method Detail |
---|
public java.lang.String getRequestString() throws FoundationsException
VistaLinkRequestVO
getRequestString
in interface VistaLinkRequestVO
FoundationsException
public int getTimeOut()
VistaLinkRequestVO
getTimeOut
in interface VistaLinkRequestVO
public void setTimeOut(int timeOut)
VistaLinkRequestVO
A timeout value of 0 (zero) indicates that no specific time out for the request is specified, and that the time out value associated with the socket should be used during socket read operations.
setTimeOut
in interface VistaLinkRequestVO
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.public VistaLinkRequestRetryStrategy getRetryStrategy()
VistaLinkRequestVO
getRetryStrategy
in interface VistaLinkRequestVO
public void setRetryStrategy(VistaLinkRequestRetryStrategy retryStrategy)
VistaLinkRequestVO
setRetryStrategy
in interface VistaLinkRequestVO
retryStrategy
- the VistaLinkRequestRetryStrategy instance representing the strategy the application wants implemented.
|
VistALink v1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |