- java.lang.Object
-
- io.helidon.messaging.Emitter.Builder<PAYLOAD>
-
-
Constructor Summary
Constructors Constructor Description Builder()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Emitter<PAYLOAD>
build()
Build the instance from this builder.Emitter.Builder<PAYLOAD>
channel(Channel<PAYLOAD> channel)
Add newChannel
for Emitter to publish to.Emitter<PAYLOAD>
get()
-
-
-
Method Detail
-
channel
public Emitter.Builder<PAYLOAD> channel(Channel<PAYLOAD> channel)
Add newChannel
for Emitter to publish to.- Parameters:
channel
- to serve as publisher in- Returns:
- this builder
-
build
public Emitter<PAYLOAD> build()
Description copied from interface:Builder
Build the instance from this builder.
-
-