@ProviderType public interface MultiportWireSupport extends WireSupport
WireSupport
to provide multi-port support in Wires.EMIT_EVENT_TOPIC
Modifier and Type | Method and Description |
---|---|
WireEnvelope |
createWireEnvelope(java.util.List<WireRecord> records)
This method allows to create a
WireEnvelope from the list of WireRecord passed as an argument. |
java.util.List<EmitterPort> |
getEmitterPorts()
Returns the list of EmitterPorts of a Wire Component
|
java.util.List<ReceiverPort> |
getReceiverPorts()
Returns the list of ReceiverPorts associated to a Wire Component
|
emit
java.util.List<EmitterPort> getEmitterPorts()
EmitterPort
java.util.List<ReceiverPort> getReceiverPorts()
ReceiverPort
WireEnvelope createWireEnvelope(java.util.List<WireRecord> records)
WireEnvelope
from the list of WireRecord
passed as an argument.records
- a list of WireRecord
s that will be wrapped into a WireEnvelope
WireEnvelope
that wraps the list of WireRecord
s passed.