Package-level declarations

This package provides model classes for io.spine.server.event.

Types

Link copied to clipboard
public abstract class EventHandlerMethod<T, R extends MessageClass<?>> extends AbstractHandlerMethod<T, M, C, E, R> implements RejectionHandler<T, R>
An abstract base for methods handling events.
Link copied to clipboard
public final class EventReactorClass<S extends EventReactor> extends ModelClass<T> implements ReactingClass
Provides information on an EventReactor class.
Link copied to clipboard
public final class EventReactorMethod extends EventHandlerMethod<T, R> implements EventProducingMethod<T, C, E>
A wrapper for a method which reacts on events.
Link copied to clipboard
public interface EventReceiverClass
Describes a class of objects that receive events.
Link copied to clipboard
public class EventReceivingClassDelegate<T extends EventReceiver, P extends MessageClass<?>, M extends HandlerMethod<? extends Object, EventClass, ? extends Object, P>> extends ModelClass<T>
Helper object for storing information about methods and handlers of an event receiving class.
Link copied to clipboard
public final class EventSubscriberClass<S extends EventSubscriber> extends ModelClass<T> implements EventReceiverClass, SubscribingClass
Provides type information on an EventSubscriber class.
Link copied to clipboard
public final class EventSubscriberMethod extends SubscriberMethod implements RejectionHandler<T, R>
A wrapper for an event subscriber method.
Link copied to clipboard
public final class InsufficientVisibilityError extends ModelError
An exception thrown when trying to subscribe to updates of state of entity, which is not visible for subscription.
Link copied to clipboard
public interface ReactingClass implements EventReceiverClass
Provides message handling information on a class that reacts on messages.
Link copied to clipboard
public final class ReactorClassDelegate<T extends EventReceiver> extends EventReceivingClassDelegate<T, P, M> implements ReactingClass
The helper class for holding messaging information on behalf of another model class.
Link copied to clipboard
public final class StateSubscriberMethod extends SubscriberMethod
A handler method which receives an entity state and produces no output.
Link copied to clipboard
public abstract class SubscriberMethod extends AbstractHandlerMethod<T, M, C, E, R> implements VoidMethod<T, C, E>, SelectiveHandler<T, C, E, R>
A method annotated with the @Subscribe annotation.
Link copied to clipboard
public class SubscriberSignature extends EventAcceptingSignature<H>
A signature of SubscriberMethod.
Link copied to clipboard
public interface SubscribingClass
An interface common for model classes that subscribe to events.