Interface Channel<Message>
-
- All Superinterfaces:
java.lang.AutoCloseable
,Port<Message>
,PortAutoCloseable
,ReceivePort<Message>
,SendPort<Message>
- All Known Subinterfaces:
StandardChannel<Message>
- All Known Implementing Classes:
Mailbox
,QueueChannel
,QueueDoubleChannel
,QueueFloatChannel
,QueueIntChannel
,QueueLongChannel
,QueueObjectChannel
,QueuePrimitiveChannel
,SingleConsumerQueueChannel
,TimeoutChannel
,TransferChannel
public interface Channel<Message> extends SendPort<Message>, ReceivePort<Message>
A message-passing channel. Implementations of this interface are encouraged (though not required) to implementStandardChannel
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface co.paralleluniverse.strands.channels.ReceivePort
ReceivePort.EOFException
-
-
Method Summary
-
Methods inherited from interface co.paralleluniverse.strands.channels.PortAutoCloseable
close, isClosed
-
Methods inherited from interface co.paralleluniverse.strands.channels.ReceivePort
receive, receive, receive, tryReceive
-
-