public interface Output<T,ReceiverThrowableType extends Throwable>
| Modifier and Type | Method and Description |
|---|---|
<SenderThrowableType extends Throwable> |
receiveFrom(Sender<? extends T,SenderThrowableType> sender)
This initiates a transfer from an Input.
|
<SenderThrowableType extends Throwable> void receiveFrom(Sender<? extends T,SenderThrowableType> sender) throws ReceiverThrowableType extends Throwable, SenderThrowableType extends Throwable
SenderThrowableType - the exception that sendTo can throwsender - the sender of data to this outputSenderThrowableType - the exception that the sender can throwReceiverThrowableType - the exception that this output can throw from receiveItem()ReceiverThrowableType extends Throwable