java.lang.Object
io.helidon.messaging.Emitter.Builder<PAYLOAD>
- Type Parameters:
PAYLOAD- message payload type
- All Implemented Interfaces:
io.helidon.common.Builder<Emitter.Builder<PAYLOAD>,,Emitter<PAYLOAD>> Supplier<Emitter<PAYLOAD>>
public static final class Emitter.Builder<PAYLOAD>
extends Object
implements io.helidon.common.Builder<Emitter.Builder<PAYLOAD>,Emitter<PAYLOAD>>
Builder for
Emitter.-
Constructor Details
-
Builder
public Builder()
-
-
Method Details
-
channel
Add newChannelfor Emitter to publish to.- Parameters:
channel- to serve as publisher in- Returns:
- this builder
-
build
- Specified by:
buildin interfaceio.helidon.common.Builder<Emitter.Builder<PAYLOAD>,Emitter<PAYLOAD>>
-
get
-