T process(Message m) throws SuspendExecution, java.lang.InterruptedExceptionAn implementation of this method is used to select messages off an actor's queue for the purpose of selective receive. If the message is selected (i.e. it should be processed now), then this method should return a non-null value. If the message is to be skipped, this method should return
null. The value returned by this method, will be returned by the
receivemethod this instance has been passed to.
If the message is selected, this method may process it (and may even call
receivefor nested selective receives), or it may choose to return the message and have it processed when it is returned from the enclosing
m- The message
- A non-null value if the message is selected;
nullif the message is to be skipped.