T - the type of elements to be sentpublic class OutputPort<T> extends AbstractPort<T>
pipe, TERMINATE_ELEMENT| Constructor and Description |
|---|
OutputPort()
For testing purposes only.
|
| Modifier and Type | Method and Description |
|---|---|
void |
send(T element)
Guarantees the delivery of the given
element. |
boolean |
sendNonBlocking(T element) |
void |
sendSignal(ISignal signal) |
getName, getOwningStage, getPipe, getType, toStringpublic void send(T element)
element.element - to be sent; May not be null.public boolean sendNonBlocking(T element)
element - to be sent; May not be null.true iff the element was sent;
false otherwise.public void sendSignal(ISignal signal)
signal - to be sent; May not be null.Copyright © 2015–2020. All rights reserved.