public interface Server extends CommonHandleChain
Exposes the following Attributes and methods:
attribute or method | API |
---|---|
CLIENT-CONNECTION-ID | getClientConnectionId() |
FIRST-ASYNC-REQUEST | getFirstAsyncRequest() |
HANDLE | n/a |
LAST-ASYNC-REQUEST | getLastAsyncRequest() |
RESTART-ROWID | n/a |
CANCEL-REQUESTS() | cancelRequests() |
CANCEL-REQUESTS-AFTER() | cancelRequestsAfter(com.goldencode.p2j.util.integer) |
Modifier and Type | Method and Description |
---|---|
logical |
cancelRequests()
This sends a stop condition to the AppServer or Web Service.
|
logical |
cancelRequestsAfter(int64 timeSec)
Calls the
cancelRequests() method when the specified number of seconds have passed. |
logical |
cancelRequestsAfter(integer timeSec)
Calls the
cancelRequests() method when the specified number of seconds have passed. |
logical |
cancelRequestsAfter(long timeSec)
Calls the
cancelRequests() method when the specified number of seconds have passed. |
character |
getClientConnectionId()
This returns the id for the AppServer connection to this handle.
|
handle |
getFirstAsyncRequest()
Returns a handle to the first asynchronous requests in the AppServer or WebService list of
asynchronous requests.
|
handle |
getLastAsyncRequest()
Returns a handle to the last asynchronous requests in the AppServer or WebService list of
asynchronous requests.
|
getNextSibling, getPrevSibling, getPrivateData, setPrivateData, setPrivateData
getResourceType, readOnlyError
id, id, unknown, valid
character getClientConnectionId()
handle getFirstAsyncRequest()
handle getLastAsyncRequest()
logical cancelRequests()
Depending on the type of server the stop condition is sent to, it may be handled differently.
true
if CONNECTED() method returns true
,
false
otherwise.logical cancelRequestsAfter(integer timeSec)
cancelRequests()
method when the specified number of seconds have passed.timeSec
- The time in seconds after the cancelRequests()
method will be called. 4GL
allows only integer or int64 values for this parameter.false
if timer cannot be set or cancelRequests()
's result
otherwiselogical cancelRequestsAfter(int64 timeSec)
cancelRequests()
method when the specified number of seconds have passed.timeSec
- The time in seconds after the cancelRequests()
method will be called. 4GL
allows only integer or int64 values for this parameter.false
if timer cannot be set or cancelRequests()
's result
otherwiselogical cancelRequestsAfter(long timeSec)
cancelRequests()
method when the specified number of seconds have passed.timeSec
- The time in seconds after the cancelRequests()
method will be called. 4GL
allows only integer or int64 values for this parameter.false
if timer cannot be set or cancelRequests()
's result
otherwise