Uses of Class
org.jgrapes.core.internal.EventBase
Packages that use EventBase
Package
Description
Defines the interfaces and classes that provide
the core functionality of the JGrapes event driven component framework.
Annotations used by the library.
Core events.
Classes implementing the public API of the library.
Adds a special annotation for methods that handle
HTTP request events.
Provides the events handled by the server components.
Provides the events used by the I/O related components.
Events associated with classes from
org.jgrapes.io.util.Mail related events.
-
Uses of EventBase in org.jgrapes.core
Subclasses of EventBase in org.jgrapes.coreModifier and TypeClassDescriptionclassCompletionEvent<T extends Event<?>>A base class for events that signal the completion of some other (monitored) event and provide this other event as their result.classEvent<T>This class is the base class for all events.final classNamedEvent<T>A class for events using a simple name as the event’s kind.Methods in org.jgrapes.core with type parameters of type EventBaseModifier and TypeMethodDescriptionEvent.forChannels(Class<C> type, BiConsumer<E, C> handler) Execute the given handler for all channels of the given type.Methods in org.jgrapes.core with parameters of type EventBaseModifier and TypeMethodDescriptionbooleanMatches the given event against the criteria for events, taking properties into account that were left out byHandlerScope.includes(Eligible, Eligible[]). -
Uses of EventBase in org.jgrapes.core.annotation
Subclasses of EventBase in org.jgrapes.core.annotationModifier and TypeClassDescriptionstatic final classThe default value for theeventsparameter of the annotation. -
Uses of EventBase in org.jgrapes.core.events
Subclasses of EventBase in org.jgrapes.core.eventsModifier and TypeClassDescriptionclassSignals the addition of a component (or subtree) to the component tree.classSignals the removal of a component from the component tree.classThis event signals that an error occurred while processing an event.classThis event signals that a throwable occurred while executing a handler.classAn event that signals the start of the application.classThe event that signals the completion of theStartevent.classAn event that causes an application to shut down. -
Uses of EventBase in org.jgrapes.core.internal
Subclasses of EventBase in org.jgrapes.core.internalModifier and TypeClassDescriptionclassActionEvent<T>A base class for events that perform an action instead of being handled.Fields in org.jgrapes.core.internal declared as EventBaseFields in org.jgrapes.core.internal with type parameters of type EventBaseModifier and TypeFieldDescriptionprotected static final ThreadLocal<EventBase<?>> EventProcessor.newEventsParentMethods in org.jgrapes.core.internal that return EventBaseMethods in org.jgrapes.core.internal with parameters of type EventBaseModifier and TypeMethodDescriptionstatic voidEventChannelsTuple.addTo(Queue<EventChannelsTuple> queue, EventBase<?> event, Channel... channels) Adds a newly createdEventChannelsTupleto the given queue.Constructors in org.jgrapes.core.internal with parameters of type EventBaseModifierConstructorDescriptionprotectedCompletionLockBase(EventBase<?> event, long timeout) EventChannelsTuple(EventBase<?> event, Channel[] channels) Create a new instance. -
Uses of EventBase in org.jgrapes.http.annotation
Methods in org.jgrapes.http.annotation with parameters of type EventBase -
Uses of EventBase in org.jgrapes.http.events
Subclasses of EventBase in org.jgrapes.http.eventsModifier and TypeClassDescriptionclassCauses a session manager to discard the given session.classIndicates that a host name could not be resolved.classSignals that a HTTP connection for aHttpRequesthas been established.classBase class for events that signal the reception of a message.classIndicates that a component has accepted aRequest.In.Getwith a header that requested an upgrade to another protocol.classRequest<R>The base class for all HTTP requests such asRequest.In.Get,Request.In.Postetc.static classThe base class for all incoming HTTP requests.static classThe associated completion event.static classRepresents a HTTP CONNECT request.static classThe Class Delete.static classRepresents a HTTP GET request.static classRepresents a HTTP HEAD request.static classRepresents a HTTP OPTIONS request.static classRepresents a HTTP POST request.static classRepresents a HTTP PUT request.static classRepresents a HTTP TRACE request.static classThe base class for all outgoing HTTP requests.static classRepresents a HTTP CONNECT request.static classRepresents a HTTP DELETE request.static classRepresents a HTTP GET request.static classRepresents a HTTP HEAD request.static classRepresents a HTTP OPTIONS request.static classRepresents a HTTP POST request.static classRepresents a HTTP PUT request.static classRepresents a HTTP TRACE request.classRepresents the response (header).classFired when a protocol upgrade was successful.classAn event that provides the close information when a WebSockt is closed. -
Uses of EventBase in org.jgrapes.io.events
Subclasses of EventBase in org.jgrapes.io.eventsModifier and TypeClassDescriptionclassThis event causes the initiator of an I/O channel to shutdown the channel.classClosed<T>This event signals that an I/O subchannel will no longer be used.classIndicates a problem while opening a network connection.classclassThis event signals that an I/O subchannel has been closed on the other end.final classThis event signals that a new chunk of data has successfully been obtained from some source.classA special kind ofErrorthat signals I/O related problems.classEvents of this type signal that a new chunk of data is available for processing.classSignal a registration request to a registry.static classThe completion event for aNioRegistrationevent.classOpened<T>This event signals that an I/O resource has successfully been opened (usually in response to some …Open event).classA base class for events that cause a file to be opened.classOpening<T>This event is fired onIOSubchannels that are created by provider components before their first usage forInputorOutputevents.classclassThis event signals that a new chunk of internally generated data is to be forwarded to some destination.classFired when a process has exited.classFired when a process has been started.classFired by an initiator of connections that maintains a pool of such connections if no more connections are available.classCauses theFileStoragecomponent to write the data from allInputevents on the channel that this event is fired on to a file until an event with the end of record flag set is sent on the channel.classCauses theFileStoragecomponent to write the data from allOutputevents on the channel that this event is fired on to a file until an event with the end of record flag set is sent on the channel.classStarts a new process managed by theProcessManagercomponent that handles the event.classIndicates a problem while starting a process.classCauses the content of a file to be streamed as a sequence ofOutputevents (terminated by an event with the end of record flag set) on the channel that this event is fired on. -
Uses of EventBase in org.jgrapes.io.util.events
Subclasses of EventBase in org.jgrapes.io.util.eventsModifier and TypeClassDescriptionclassDataInput<T>Signals that some data is available for handling.classSignals an error that occurred while parsing JSON. -
Uses of EventBase in org.jgrapes.mail.events
Subclasses of EventBase in org.jgrapes.mail.eventsModifier and TypeClassDescriptionclassSignals the retrieval of mails (update) by aMailMonitor.classFired when the requested connection has been established.classCommon base class for events that open a mail connection for sending or receiving mail.classAn event that opens folders on the store defined by the base class for monitoring.classFired to open a connection for sending mails.classIndicates the arrival of a new message.classTriggers the retrieval of mails (update) by aMailMonitor. -
Uses of EventBase in org.jgrapes.net.events
Subclasses of EventBase in org.jgrapes.net.eventsModifier and TypeClassDescriptionclassThis event signals that a new connection has been made by a client.classThis event signals that a new connection has been made by a client.classConnected<T>This event signals that a new connection has been established.classSignals that a server has bound to a socket address and is ready to accept connections. -
Uses of EventBase in org.jgrapes.util.events
Subclasses of EventBase in org.jgrapes.util.eventsModifier and TypeClassDescriptionclassAn event to indicate that configuration information has been updated.classInforms about changes of a watched file.classA specialConfigurationUpdateevent that is used for reporting the configuration on startup.classA specialConfigurationUpdateevent that is used by thePreferencesStorefor reporting the configuration on startup.classDefines an optional completion event for aKeyValueStoreQuery.classA query event for a key/value store.classAn event that triggers updates or deletions in a key/value store.classRegisters a path to be watched with aFileSystemWatcher.