Interface Selectable<Message>
-
- All Superinterfaces:
Port<Message>
- All Known Implementing Classes:
Mailbox
,QueueChannel
,QueueDoubleChannel
,QueueFloatChannel
,QueueIntChannel
,QueueLongChannel
,QueueObjectChannel
,QueuePrimitiveChannel
,SingleConsumerQueueChannel
,TickerChannelConsumer
,TickerChannelConsumer.TickerChannelFloatConsumer
,TimeoutChannel
,TransferChannel
,ValChannel
public interface Selectable<Message> extends Port<Message>
A channel port that can be used by aSelector
.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.Object
register(SelectAction<Message> action)
boolean
tryNow(java.lang.Object token)
void
unregister(java.lang.Object token)
-
-
-
Method Detail
-
register
java.lang.Object register(SelectAction<Message> action)
-
tryNow
boolean tryNow(java.lang.Object token)
-
unregister
void unregister(java.lang.Object token)
-
-