Class TimedEventType

    • Constructor Detail

      • TimedEventType

        public TimedEventType​(String name,
                              MetaData metaData)
        Construct a new TimedEventType. Only events of the type TimedEvent, but not classes of Event or subclasses of TimedEvent, can be used to fire events of this type. This means that firing an ordinary Event using this EventType will result in an error.
        Parameters:
        name - String; the name of the new eventType. Two values are not appreciated: null and the empty string.
        metaData - MetaData; describes the payload of events of the new EventType;
      • TimedEventType

        public TimedEventType​(MetaData metaData)
        Construct a new TimedEventType. The name of the metadata will function as the name of the event. Only events of the type TimedEvent, but not classes of Event or subclasses of TimedEvent, can be used to fire events of this type. This means that firing an ordinary Event using this EventType will result in an error.
        Parameters:
        metaData - MetaData; describes the payload of events of the new EventType;
      • TimedEventType

        @Deprecated
        public TimedEventType​(String name)
        Deprecated.
        Construct a new TimedEventType with no meta data. Only events of the type TimedEvent, but not classes of Event or subclasses of TimedEvent, can be used to fire events of this type. This means that firing an ordinary Event using this EventType will result in an error.
        Parameters:
        name - String; the name of the new eventType. Two values are not appreciated: null and the empty string.