Uses of Class
org.nanonative.nano.helper.event.model.Event
Packages that use Event
Package
Description
-
Uses of Event in org.nanonative.nano.core
Fields in org.nanonative.nano.core with type parameters of type EventMethods in org.nanonative.nano.core that return EventModifier and TypeMethodDescriptionNano.sendEventReturn(int channelId, Context context, Object payload, Consumer<Object> responseListener, boolean broadCast) Processes an event with the given parameters and decides on the execution path based on the presence of a response listener and the broadcast flag.Methods in org.nanonative.nano.core that return types with arguments of type EventMethods in org.nanonative.nano.core with parameters of type EventModifier and TypeMethodDescriptionprotected voidNano.sendEventSameThread(Event event, boolean broadcast) Sends an event on the same thread and determines whether to process it to the first listener.Method parameters in org.nanonative.nano.core with type arguments of type EventModifier and TypeMethodDescriptionNanoBase.subscribeEvent(int channelId, Consumer<Event> listener) Registers an event listener for a specific event type.NanoBase.unsubscribeEvent(int channelId, Consumer<Event> listener) Removes a registered event listener for a specific event type. -
Uses of Event in org.nanonative.nano.core.model
Methods in org.nanonative.nano.core.model that return EventModifier and TypeMethodDescriptionContext.broadcastEventReturn(int channelId, Object payload) Broadcasts an event of the specified type with the provided payload to all listeners within this context without expecting a response.Context.broadcastEventReturn(int channelId, Object payload, Consumer<Object> responseListener) Broadcasts an event of the specified type with the provided payload to all listeners within this context, expecting a response that is handled by the provided responseListener.Context.sendEventReturn(int channelId, Object payload) Sends an event of the specified type with the provided payload within this context without expecting a response.Context.sendEventReturn(int channelId, Object payload, Consumer<Object> responseListener) Sends an event of the specified type with the provided payload within this context, expecting a response that is handled by the provided responseListener.Methods in org.nanonative.nano.core.model with parameters of type EventModifier and TypeMethodDescriptionvoidabstract ObjectContext.sendEventError(Event event, Service service, Throwable throwable) Sends an unhandled event with the provided, nullable payload and exception.Method parameters in org.nanonative.nano.core.model with type arguments of type EventModifier and TypeMethodDescriptionContext.subscribeEvent(int channelId, Consumer<Event> listener) Registers an event listener for a specific event type.Context.unsubscribeEvent(int channelId, Consumer<Event> listener) Removes a registered event listener for a specific event type. -
Uses of Event in org.nanonative.nano.helper.event.model
Methods in org.nanonative.nano.helper.event.model that return EventModifier and TypeMethodDescriptionEvent.acknowledge()Event.acknowledge(Runnable response) Event.channelId(int channelId) <T> Event<T> EventEvent.ifPresentAck(int channelId, Class<T> clazz, Consumer<T> consumer) Event.ifPresentAck(int channelId, Consumer<Event> consumer) Method parameters in org.nanonative.nano.helper.event.model with type arguments of type Event -
Uses of Event in org.nanonative.nano.helper.logger.logic
Methods in org.nanonative.nano.helper.logger.logic with parameters of type Event -
Uses of Event in org.nanonative.nano.services.http
Methods in org.nanonative.nano.services.http that return types with arguments of type EventMethods in org.nanonative.nano.services.http with parameters of type Event -
Uses of Event in org.nanonative.nano.services.http.model
Methods in org.nanonative.nano.services.http.model that return EventModifier and TypeMethodDescriptionSends an HTTP response using the currentHttpObjectas the response context.Methods in org.nanonative.nano.services.http.model with parameters of type EventModifier and TypeMethodDescriptionSends an HTTP response using the currentHttpObjectas the response context. -
Uses of Event in org.nanonative.nano.services.metric.logic
Methods in org.nanonative.nano.services.metric.logic with parameters of type Event