public abstract class SelectAction<Message>
extends java.lang.Object
Selector.| Modifier and Type | Method and Description |
|---|---|
int |
index() |
boolean |
isDone()
Tests whether this operation is the one operation that has been selected and completed by the selector.
|
Message |
message()
Returns the message to send if this is a send operation, or the message that has been received if this is a receive operation and has been
successfully completed by the selector.
|
Port<Message> |
port()
Returns the channel for this operation.
|
public Message message()
public int index()
public Port<Message> port()
public boolean isDone()
true if this operation is the one operation that has been selected and completed by the selector; false otherwise.