Trait/Object

org.scaladebugger.api.lowlevel.events

EventManager

Related Docs: object EventManager | package events

Permalink

trait EventManager extends AnyRef

Represents a manager for events coming in from a virtual machine.

Linear Supertypes
AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. EventManager
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type EventAndData = (Event, Seq[JDIEventDataResult])

    Permalink

    Represents a JDI event and any associated data retrieved from it.

  2. type EventHandler = (Event, Seq[JDIEventDataResult]) ⇒ Boolean

    Permalink

    Represents an event callback, receiving the event and returning whether or not to resume.

Abstract Value Members

  1. abstract def addEventHandlerWithId(eventHandlerId: String, eventType: EventType, eventHandler: EventHandler, eventArguments: JDIEventArgument*): String

    Permalink

    Adds the event function to this manager.

    Adds the event function to this manager. The return value of the handler function contributes towards whether or not to resume the event set.

    eventHandlerId

    The id to associate with the event handler

    eventType

    The type of the event to add a function

    eventHandler

    The function to add, taking the occurring event and a collection of retrieved data from the event

    eventArguments

    The arguments used when determining whether or not to invoke the event handler

    returns

    The id associated with the event handler

  2. abstract def getAllEventHandlerInfo: Seq[EventHandlerInfo]

    Permalink

    Retrieves information on all event handlers.

    Retrieves information on all event handlers.

    returns

    The collection of information on all event handlers

  3. abstract def getEventHandler(eventHandlerId: String): Option[EventHandler]

    Permalink

    Retrieves the handler with the specified id.

    Retrieves the handler with the specified id.

    eventHandlerId

    The id of the handler to retrieve

    returns

    Some event handler if found, otherwise None

  4. abstract def getHandlerIdsForEventType(eventType: EventType): Seq[String]

    Permalink

    Retrieves the collection of event handler functions for the specific event class.

    Retrieves the collection of event handler functions for the specific event class.

    eventType

    The type of event whose functions to retrieve

    returns

    The collection of event functions

  5. abstract def getHandlersForEventType(eventType: EventType): Seq[EventHandler]

    Permalink

    Retrieves the collection of event handler functions for the specific event class.

    Retrieves the collection of event handler functions for the specific event class.

    eventType

    The type of event whose functions to retrieve

    returns

    The collection of event functions

  6. abstract def isRunning: Boolean

    Permalink

    Indicates whether or not the event manager is processing events.

    Indicates whether or not the event manager is processing events.

    returns

    True if it is running, otherwise false

  7. abstract def removeEventHandler(eventHandlerId: String): Option[EventHandler]

    Permalink

    Removes the event function from this manager.

    Removes the event function from this manager.

    eventHandlerId

    The id of the event handler to remove

    returns

    Some event handler if removed, otherwise None

  8. abstract def start(): Unit

    Permalink

    Begins the processing of events from the virtual machine.

  9. abstract def stop(): Unit

    Permalink

    Ends the processing of events from the virtual machine.

Concrete Value Members

  1. final def !=(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  4. def addEventDataStream(eventType: EventType, eventArguments: JDIEventArgument*): IdentityPipeline[EventAndData]

    Permalink

    Adds a new event data stream that tracks incoming JDI events and data collected from those events.

    Adds a new event data stream that tracks incoming JDI events and data collected from those events.

    eventType

    The type of JDI event to stream

    eventArguments

    The arguments used when determining whether or not to send the event down the stream

    returns

    The resulting event stream in the form of a pipeline of events and collected data

  5. def addEventDataStreamWithId(eventHandlerId: String, eventType: EventType, eventArguments: JDIEventArgument*): IdentityPipeline[EventAndData]

    Permalink

    Adds a new event data stream that tracks incoming JDI events and data collected from those events.

    Adds a new event data stream that tracks incoming JDI events and data collected from those events.

    eventHandlerId

    The id to associate with the event handler

    eventType

    The type of JDI event to stream

    eventArguments

    The arguments used when determining whether or not to send the event down the stream

    returns

    The resulting event stream in the form of a pipeline of events and collected data

  6. def addEventHandler(eventType: EventType, eventHandler: (Event) ⇒ Boolean, eventArguments: JDIEventArgument*): String

    Permalink

    Adds the event function to this manager.

    Adds the event function to this manager. The return value of the handler function contributes towards whether or not to resume the event set.

    eventType

    The type of the event to add a function

    eventHandler

    The function to add, taking the occurring event

    eventArguments

    The arguments used when determining whether or not to invoke the event handler

    returns

    The id associated with the event handler

  7. def addEventHandler(eventType: EventType, eventHandler: EventHandler, eventArguments: JDIEventArgument*): String

    Permalink

    Adds the event function to this manager.

    Adds the event function to this manager. The return value of the handler function contributes towards whether or not to resume the event set.

    eventType

    The type of the event to add a function

    eventHandler

    The function to add, taking the occurring event and a collection of retrieved data from the event

    eventArguments

    The arguments used when determining whether or not to invoke the event handler

    returns

    The id associated with the event handler

  8. def addEventHandlerFromInfo(eventHandlerInfo: EventHandlerInfo): String

    Permalink

    Adds an event handler based on the specified information.

    Adds an event handler based on the specified information.

    eventHandlerInfo

    The information used to add the event hander

    returns

    The id associated with the event handler

  9. def addEventHandlerWithId(eventHandlerId: String, eventType: EventType, eventHandler: (Event) ⇒ Boolean, eventArguments: JDIEventArgument*): String

    Permalink

    Adds the event function to this manager.

    Adds the event function to this manager. The return value of the handler function contributes towards whether or not to resume the event set.

    eventHandlerId

    The id to associate with the event handler

    eventType

    The type of the event to add a function

    eventHandler

    The function to add, taking the occurring event

    eventArguments

    The arguments used when determining whether or not to invoke the event handler

    returns

    The id associated with the event handler

  10. def addEventStream(eventType: EventType, eventArguments: JDIEventArgument*): IdentityPipeline[Event]

    Permalink

    Adds a new event stream that tracks incoming JDI events.

    Adds a new event stream that tracks incoming JDI events.

    eventType

    The type of JDI event to stream

    eventArguments

    The arguments used when determining whether or not to send the event down the stream

    returns

    The resulting event stream in the form of a pipeline of events

  11. def addEventStreamWithId(eventHandlerId: String, eventType: EventType, eventArguments: JDIEventArgument*): IdentityPipeline[Event]

    Permalink

    Adds a new event stream that tracks incoming JDI events.

    Adds a new event stream that tracks incoming JDI events.

    eventHandlerId

    The id to associate with the event handler

    eventType

    The type of JDI event to stream

    eventArguments

    The arguments used when determining whether or not to send the event down the stream

    returns

    The resulting event stream in the form of a pipeline of events

  12. def addResumingEventHandler(eventType: EventType, eventHandler: (Event) ⇒ Unit, eventArguments: JDIEventArgument*): String

    Permalink

    Adds the event function to this manager.

    Adds the event function to this manager. This event automatically counts towards resuming the event set after completion.

    eventType

    The type of the event to add a function

    eventHandler

    The function to add, taking the occurring event

    eventArguments

    The arguments used when determining whether or not to invoke the event handler

    returns

    The id associated with the event handler

  13. def addResumingEventHandler(eventType: EventType, eventHandler: (Event, Seq[JDIEventDataResult]) ⇒ Unit, eventArguments: JDIEventArgument*): String

    Permalink

    Adds the event function to this manager.

    Adds the event function to this manager. This event automatically counts towards resuming the event set after completion.

    eventType

    The type of the event to add a function

    eventHandler

    The function to add, taking the occurring event and a collection of retrieved data from the event

    eventArguments

    The arguments used when determining whether or not to invoke the event handler

    returns

    The id associated with the event handler

  14. def addResumingEventHandlerWithId(eventHandlerId: String, eventType: EventType, eventHandler: (Event) ⇒ Unit, eventArguments: JDIEventArgument*): String

    Permalink

    Adds the event function to this manager.

    Adds the event function to this manager. This event automatically counts towards resuming the event set after completion.

    eventHandlerId

    The id to associate with the event handler

    eventType

    The type of the event to add a function

    eventHandler

    The function to add, taking the occurring event

    eventArguments

    The arguments used when determining whether or not to invoke the event handler

    returns

    The id associated with the event handler

  15. def addResumingEventHandlerWithId(eventHandlerId: String, eventType: EventType, eventHandler: (Event, Seq[JDIEventDataResult]) ⇒ Unit, eventArguments: JDIEventArgument*): String

    Permalink

    Adds the event function to this manager.

    Adds the event function to this manager. This event automatically counts towards resuming the event set after completion.

    eventHandlerId

    The id to associate with the event handler

    eventType

    The type of the event to add a function

    eventHandler

    The function to add, taking the occurring event and a collection of retrieved data from the event

    eventArguments

    The arguments used when determining whether or not to invoke the event handler

    returns

    The id associated with the event handler

  16. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  17. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  18. final def eq(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  19. def equals(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  20. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  21. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  22. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  23. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  24. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  25. def newEventId(): String

    Permalink

    Generates an id for a new event handler.

    Generates an id for a new event handler.

    returns

    The id as a string

    Attributes
    protected
  26. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  27. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  28. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  29. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  30. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  31. final def wait(arg0: Long, arg1: Int): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped