Public Instance Methods : IuSstRequest
deferReply
"ACTION
Mark the receiver as a deferred request. The value returned from the
method processing a deferred request is ignored. The request (i.e.,
self) can be replied to at a later time using the #lateReply: protocol.
RETURN VALUE
self"
earlyReply: value continuation: continuation
"ACTION
Send @value as an early reply to the receiver. An early reply
is defined as a reply done before the method invoked as a
result of dispatching the receiver has returned. @continuation
is a zero argument block containing the code which should
be executed after @value is replied. See the SST developer's
guide for information on the contents and use of the @continuation
argument.
If an error occurs, reply an error value to the origin of the receiver
(i.e., its sender) and return the error from this method. In the
event that an error occurs while trying to send the error reply,
simply return an error from this method. If a reply of any sort is
actually sent then the receiver is marked as having been answered.
PARAMETERS
value : <Object>
continuation : <Block>
RETURN VALUE
<void> | <IuSstError>
NOTES
The detailed semantics of the @continuationBlock processing
depend largely on the implemenation of sendEarlyReply:to:continuation:
in the <IdSstDispatcher> associated with the receiver."
isAsynchronous
"ACTION
Answer true if senders of the receiver should wait for a result.
RETURN VALUE
<Boolean>"
isDeferred
"ACTION
Answer true if the receiver has been marked as being a deferred request
for a late reply. Answer false otherwise.
RETURN VALUE
<Boolean>"
lateReply: value
"ACTION
Send @value in reply to the receiver which has been deferred.
The receiver is first marked as being deferred no longer.
If an error occurs, reply an error value to the origin of the receiver
(i.e., its sender) and return the error from this method. In the event
that an error occurs while trying to send the error reply, simply return an
error from this method. If a reply of any sort is actually sent
then the receiver is marked as having been answered.
PARAMETERS
value : <Object>
RETURN VALUE
<void> | <IuSstError>"
markAsAsynchronous
"ACTION
Mark the receiver as being asynchronous. That is, it does not
need to block for a reply."
[FIRST] [PREV] [NEXT] [LAST]