Uses of Record Class
org.nanonative.nano.helper.event.model.Channel
Packages that use Channel
Package
Description
-
Uses of Channel in org.nanonative.nano.core
Fields in org.nanonative.nano.core with type parameters of type ChannelMethods in org.nanonative.nano.core with parameters of type ChannelModifier and TypeMethodDescriptionNanoBase.subscribeError(Channel<C, R> channel, Consumer<Event<C, R>> listener) Registers for global error handling.NanoBase.subscribeEvent(Channel<C, R> channel, BiConsumer<? super Event<C, R>, C> listener) Registers an event listener with a typed payload.<C,R> T NanoBase.subscribeEvent(Channel<C, R> channel, Consumer<? super Event<C, R>> listener) Registers an event listener with a typed payload. -
Uses of Channel in org.nanonative.nano.core.model
Fields in org.nanonative.nano.core.model declared as ChannelModifier and TypeFieldDescriptionContext.EVENT_APP_ERRORContext.EVENT_APP_HEARTBEATContext.EVENT_APP_OOMContext.EVENT_APP_SCHEDULER_REGISTERContext.EVENT_APP_SCHEDULER_UNREGISTERContext.EVENT_APP_SERVICE_REGISTERContext.EVENT_APP_SERVICE_UNREGISTERContext.EVENT_APP_SHUTDOWNContext.EVENT_APP_STARTContext.EVENT_CONFIG_CHANGEMethods in org.nanonative.nano.core.model that return ChannelModifier and TypeMethodDescriptionContext.registerChannelId(String name, Class<C> payload) Registers a newChannelwith a given name if it does not already exist.<C,R> Channel <C, R> Context.registerChannelId(String name, Class<C> payload, Class<R> response) Registers a newChannelwith a given name if it does not already exist.Methods in org.nanonative.nano.core.model with parameters of type ChannelModifier and TypeMethodDescription<C,R> Event <C, R> Creates a newEventinstance with the specified event payload.<C,R> Event <C, R> Creates a newEventinstance with the specified event payload.Context.subscribeError(Channel<C, R> channel, Consumer<Event<C, R>> listener) Registers for global error handling.Context.subscribeEvent(Channel<C, R> channel, BiConsumer<Event<C, R>, C> listener) Registers an event listener with a typed payload.<C,R> Context Context.subscribeEvent(Channel<C, R> channel, Consumer<Event<C, R>> listener) Registers an event listener with a typed payload.Context.subscribeEvent(Channel<C, R> channel, Predicate<Event<C, R>> filter, Consumer<Event<C, R>> listener) Registers an event listener with a typed payload.<C,R> Context Context.unsubscribeEvent(Channel<C, R> channel, Consumer<Event<C, R>> listener) Removes a registered event listener for a specific event payload. -
Uses of Channel in org.nanonative.nano.helper.event.model
Fields in org.nanonative.nano.helper.event.model declared as ChannelMethods in org.nanonative.nano.helper.event.model that return ChannelModifier and TypeMethodDescriptionEvent.channel()Returns the name of theChannel.static Channel<?, ?> Channel.channelOf(int id) Retrieves the name of an eventChannelgiven its id.Channel.registerChannelId(String name) Registers a newChannelwith a given name if it does not already exist.Channel.registerChannelId(String name, Class<C> payload) Registers a newChannelwith a given name if it does not already exist.static <C,R> Channel <C, R> Channel.registerChannelId(String name, Class<C> type, Class<R> response) Registers a newChannelwith a given name if it does not already exist.Methods in org.nanonative.nano.helper.event.model that return types with arguments of type ChannelMethods in org.nanonative.nano.helper.event.model with parameters of type ChannelModifier and TypeMethodDescriptionConstructors in org.nanonative.nano.helper.event.model with parameters of type Channel -
Uses of Channel in org.nanonative.nano.services.file
Fields in org.nanonative.nano.services.file declared as ChannelModifier and TypeFieldDescriptionFileWatcher.EVENT_FILE_CHANGEFileWatcher.EVENT_UNWATCH_FILEFileWatcher.EVENT_WATCH_FILE -
Uses of Channel in org.nanonative.nano.services.http
Fields in org.nanonative.nano.services.http declared as ChannelModifier and TypeFieldDescriptionstatic final Channel<HttpObject, HttpObject> HttpServer.EVENT_HTTP_REQUESTstatic final Channel<HttpObject, HttpObject> HttpServer.EVENT_HTTP_REQUEST_UNHANDLEDstatic final Channel<HttpObject, HttpObject> HttpClient.EVENT_SEND_HTTP -
Uses of Channel in org.nanonative.nano.services.logging
Fields in org.nanonative.nano.services.logging declared as Channel -
Uses of Channel in org.nanonative.nano.services.metric.logic
Fields in org.nanonative.nano.services.metric.logic declared as ChannelModifier and TypeFieldDescriptionstatic final Channel<MetricUpdate, Void> MetricService.EVENT_METRIC_UPDATE