Class RmiErrorEventProducer

java.lang.Object
org.djutils.stats.summarizers.event.RmiErrorEventProducer
All Implemented Interfaces:
Serializable, Remote, org.djutils.event.EventProducer

public class RmiErrorEventProducer extends Object implements org.djutils.event.EventProducer
EventProducer that throws an error on removeListener().

Copyright (c) 2023-2024 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.

Author:
Alexander Verbraeck
See Also:
  • Field Summary

    Fields inherited from interface org.djutils.event.EventProducer

    FIRST_POSITION, LAST_POSITION
  • Constructor Summary

    Constructors
    Constructor
    Description
     
  • Method Summary

    Modifier and Type
    Method
    Description
    void
    fireEvent(org.djutils.event.EventType eventType)
    void
    fireEvent(org.djutils.event.EventType eventType, Serializable value)
    org.djutils.event.EventListenerMap

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

    Methods inherited from interface org.djutils.event.EventProducer

    addListener, addListener, addListener, addListener, fireEvent, fireTimedEvent, fireTimedEvent, fireTimedEvent, fireUnverifiedEvent, fireUnverifiedEvent, fireUnverifiedTimedEvent, fireUnverifiedTimedEvent, getEventTypesWithListeners, getListenerReferences, hasListeners, numberOfListeners, removeAllListeners, removeAllListeners, removeListener
  • Constructor Details

    • RmiErrorEventProducer

      public RmiErrorEventProducer()
  • Method Details

    • getEventListenerMap

      public org.djutils.event.EventListenerMap getEventListenerMap()
      Specified by:
      getEventListenerMap in interface org.djutils.event.EventProducer
    • fireEvent

      public void fireEvent(org.djutils.event.EventType eventType) throws RemoteException
      Specified by:
      fireEvent in interface org.djutils.event.EventProducer
      Throws:
      RemoteException
    • fireEvent

      public void fireEvent(org.djutils.event.EventType eventType, Serializable value) throws RemoteException
      Specified by:
      fireEvent in interface org.djutils.event.EventProducer
      Throws:
      RemoteException