Class Event

java.lang.Object
eu.cloudnetservice.driver.event.Event
Direct Known Subclasses:
ChunkedPacketSessionOpenEvent, CloudServiceDeferredStateEvent, CloudServiceEvent, FileQueryRequestEvent, GroupConfigurationEvent, ModuleEvent, NetworkEvent, ServiceTaskEvent, UnloadedModuleEvent

public abstract class Event extends Object
Represents an event which can be fired. This class is just a marker class to indicate that a class is an event. Events can be fired by using EventManager.callEvent(Event) and listened to by using a method with only one parameter (the event to listen to) which is annotated with @EventListener.
Since:
4.0
See Also:
  • Constructor Details

    • Event

      public Event()