Event Receiving Class Delegate
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.
Parameters
<T>
the type of target objects that handle messages
<P>
the type of message classes produced by handler methods
<M>
the type of handler method objects
Inheritors
Constructors
Link copied to clipboard
public void EventReceivingClassDelegate(Class<T> delegatingClass, MethodSignature<M, ? extends Object> signature)
Creates new instance for the passed raw class with methods obtained through the passed factory.
Functions
Link copied to clipboard
Link copied to clipboard
Obtains domestic event classes handled by the delegating class.
Link copied to clipboard
Obtains domestic entity states to which the delegating class is subscribed.
Link copied to clipboard
Obtains external event classes handled by the delegating class.
Link copied to clipboard
Obtains external entity states to which the delegating class is subscribed.
Link copied to clipboard
Obtains the method which handles the passed event class.
Link copied to clipboard
Obtains the method which handles the passed event class.
Link copied to clipboard
Obtains the classes of messages produced by handler methods of this class.
Inherited functions
Link copied to clipboard
protected static ModelClass<T> get<T, M extends ModelClass<T>>(Class<T> rawClass, Class<M> requestedModelClass, Supplier<ModelClass<T>> supplier)
Obtains the model class for the passed raw class.