public interface OutputCollector extends IOCollector<OutputCollector>
The output collector exposes a simple interface to OutputPort instances
through which messages can be sent.
| Modifier and Type | Method and Description |
|---|---|
OutputPort |
port(String name)
Returns an output port.
|
Collection<OutputPort> |
ports()
Returns a collection of output ports.
|
Collection<OutputPort> ports()
OutputPort port(String name)
If the port doesn't already exist then the input collector will lazily create the port. Ports can be referenced prior to the output event starting up, and once the output starts ports will be properly configured.
port in interface IOCollector<OutputCollector>name - The name of the port to load.Copyright © 2013-2014. All Rights Reserved.