Interface SessionDefineNetworkChannelsEvent.Builder<M extends Message<? extends MessageBuffer>>
- Type Parameters:
M- the message type
- All Known Subinterfaces:
SessionDefineNetworkChannelsEvent.Builder.Bidirectional<M>,SessionDefineNetworkChannelsEvent.Builder.Initial<M>,SessionDefineNetworkChannelsEvent.Builder.Sided<M>
- Enclosing class:
SessionDefineNetworkChannelsEvent
public static interface SessionDefineNetworkChannelsEvent.Builder<M extends Message<? extends MessageBuffer>>
Registration builder for attaching handlers to a channel.
-
Nested Class Summary
Nested ClassesModifier and TypeInterfaceDescriptionstatic interfaceSessionDefineNetworkChannelsEvent.Builder.Bidirectional<M extends Message<? extends MessageBuffer>>static interfaceSessionDefineNetworkChannelsEvent.Builder.Initial<M extends Message<? extends MessageBuffer>>static interfacePipeline configuration for ordering handlers.static interfaceSessionDefineNetworkChannelsEvent.Builder.Sided<M extends Message<? extends MessageBuffer>> -
Method Summary
Modifier and TypeMethodDescriptionConfigures the pipeline for this handler.register()Finalizes the registration.
-
Method Details
-
pipeline
SessionDefineNetworkChannelsEvent.Builder<M> pipeline(Consumer<SessionDefineNetworkChannelsEvent.Builder.Pipeline> pipeline) Configures the pipeline for this handler.- Parameters:
pipeline- the pipeline consumer- Returns:
- the builder instance
-
register
SessionDefineNetworkChannelsEvent.Registration<M> register()Finalizes the registration.- Returns:
- the completed registration
-