|
VistALink v1.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface VistaLinkRequestVO
Base request interface
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 strategy)
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. |
Method Detail |
---|
java.lang.String getRequestString() throws FoundationsException
FoundationsException
This constructor, method or field is not for public use. |
int getTimeOut()
void setTimeOut(int timeOut)
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.
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.VistaLinkRequestRetryStrategy getRetryStrategy()
void setRetryStrategy(VistaLinkRequestRetryStrategy strategy)
strategy
- 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 |