Public Instance Methods : IuSstActor
children
"ACTION
Answer the collection of Actors which are the children of the receiver.
RETURN VALUE
<Collection of <IuSstActor>>"
currentRequest
"ACTION
Answer the request currently being processed by the receiver.
RETURN VALUE
<SstActorMessage> | nil"
deferReply
"ACTION
Allow the processing of the current method/request to end without
implicitly replying its result to the sender of the originating request.
This is used to allow the deferred processing of synchronous
requests. It is the programmer's responsibility to ensure that the
request is stored and replied to at some future time."
isRunning
"ACTION
Answer true if the receiver is running. This does not imply that
the receiver is currently executing (or even ready to execute) but
rather that it has associated processing resources.
RETURN VALUE
<Boolean>"
parent
"ACTION
Answer the Actor which is the parent of the receiver.
RETURN VALUE
<IuSstActor>"
receive
"ACTION
Fetch and answer the next message as sent to the receiver.
Block until such a message is available.
RETURN VALUE
<SstActorMessage>"
reply: value
"ACTION
Reply @value to the sender of the current request if any. The request
will be marked as answered and cannot be replied to again.
PARAMETERS
value : <Object>"
reply: value to: request
"ACTION
Reply @value to the sender of @request. @request will be
marked as answered and cannot be replied to again.
PARAMETERS
value : <Object>
request : <SstActorMessage>"
resume
"ACTION
Cause the receiver to continue processing as it was when it was
#suspended."
send: message
"ACTION
Send @message to the actor identified as its receiver (i.e., its
%receiver attribute) and wait for a reply. The process executing
this method is blocked until the reply arrives and the value in the
reply is returned as the result of this method. If @message cannot
be sent or processed, an error is returned.
PARAMETERS
message : <SstActorMessage>
RETURN VALUE
<Object> | <IuSstError>"
sendSelector: selector withArguments: arguments to: receiver
"ACTION
Send the message with @selector and @arguments to @receiver
and wait for a reply. The process executing this method is blocked
until the reply arrives and the value in the reply is returned as the
result of this method. If @message cannot be sent or processed,
an error is returned.
PARAMETERS
selector : <Symbol>
arguments : <Array of <Object>>
receiver : <IuSstActor>
RETURN VALUE
<Object> | <IuSstError>"
suspend
"ACTION
Cause all processing in the receiver to be stopped until the receiver
is #resume'd. No sent messages will be received or processed
while the receiver is suspended."
terminate
"ACTION
Terminate all processing for the receiver. No further messages
will be sent or processed. Requestors which have sent requests
but not yet received replies will be sent an SstError stating that the
receiver has been shutDown."
tryReceive
"ACTION
Fetch and answer the next message as sent to the receiver.
If no messages are available then answer nil.
RETURN VALUE
<SstActorMessage> | nil"
[FIRST] [PREV] [NEXT] [LAST]