org.scaladebugger.api.lowlevel.events

PendingEventHandlerSupport

trait PendingEventHandlerSupport extends PendingEventHandlerSupportLike

Provides pending event capabilities to an existing event manager. Note that all newly-created event handlers will be pending while pending is enabled.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. PendingEventHandlerSupport
  2. PendingEventHandlerSupportLike
  3. PendingRequestSupport
  4. EventManager
  5. AnyRef
  6. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

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

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

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

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

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

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

    Definition Classes
    EventManager

Abstract Value Members

  1. abstract def getAllEventHandlerInfo: Seq[EventHandlerInfo]

    Retrieves information on all event handlers.

    Retrieves information on all event handlers.

    returns

    The collection of information on all event handlers

    Definition Classes
    EventManager
  2. abstract def getEventHandler(eventHandlerId: String): Option[(Event, Seq[JDIEventDataResult]) ⇒ Boolean]

    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

    Definition Classes
    EventManager
  3. abstract def getHandlerIdsForEventType(eventType: EventType): Seq[String]

    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

    Definition Classes
    EventManager
  4. abstract def getHandlersForEventType(eventType: EventType): Seq[(Event, Seq[JDIEventDataResult]) ⇒ Boolean]

    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

    Definition Classes
    EventManager
  5. abstract def isRunning: Boolean

    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

    Definition Classes
    EventManager
  6. abstract val pendingActionManager: PendingActionManager[EventHandlerInfo]

    Represents the manager used to store pending event handlers and process them later.

    Represents the manager used to store pending event handlers and process them later.

    Attributes
    protected
  7. abstract def removeEventHandler(eventHandlerId: String): Option[(Event, Seq[JDIEventDataResult]) ⇒ Boolean]

    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

    Definition Classes
    EventManager
  8. abstract def start(): Unit

    Begins the processing of events from the virtual machine.

    Begins the processing of events from the virtual machine.

    Definition Classes
    EventManager
  9. abstract def stop(): Unit

    Ends the processing of events from the virtual machine.

    Ends the processing of events from the virtual machine.

    Definition Classes
    EventManager

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

    Definition Classes
    AnyRef
  5. final def ==(arg0: Any): Boolean

    Definition Classes
    Any
  6. def addEventDataStream(eventType: EventType, eventArguments: JDIEventArgument*): IdentityPipeline[(Event, Seq[JDIEventDataResult])]

    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

    Definition Classes
    EventManager
  7. def addEventDataStreamWithId(eventHandlerId: String, eventType: EventType, eventArguments: JDIEventArgument*): IdentityPipeline[(Event, Seq[JDIEventDataResult])]

    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

    Definition Classes
    EventManager
  8. def addEventHandler(eventType: EventType, eventHandler: (Event) ⇒ Boolean, eventArguments: JDIEventArgument*): String

    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

    Definition Classes
    EventManager
  9. def addEventHandler(eventType: EventType, eventHandler: (Event, Seq[JDIEventDataResult]) ⇒ Boolean, eventArguments: JDIEventArgument*): String

    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

    Definition Classes
    EventManager
  10. def addEventHandlerFromInfo(eventHandlerInfo: EventHandlerInfo): String

    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

    Definition Classes
    EventManager
  11. def addEventHandlerWithId(eventHandlerId: String, eventType: EventType, eventHandler: (Event, Seq[JDIEventDataResult]) ⇒ Boolean, eventArguments: JDIEventArgument*): String

    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

    Definition Classes
    PendingEventHandlerSupportEventManager
  12. def addEventHandlerWithId(eventHandlerId: String, eventType: EventType, eventHandler: (Event) ⇒ Boolean, eventArguments: JDIEventArgument*): String

    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

    Definition Classes
    EventManager
  13. def addEventStream(eventType: EventType, eventArguments: JDIEventArgument*): IdentityPipeline[Event]

    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

    Definition Classes
    EventManager
  14. def addEventStreamWithId(eventHandlerId: String, eventType: EventType, eventArguments: JDIEventArgument*): IdentityPipeline[Event]

    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

    Definition Classes
    EventManager
  15. def addResumingEventHandler(eventType: EventType, eventHandler: (Event) ⇒ Unit, eventArguments: JDIEventArgument*): String

    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

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

    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

    Definition Classes
    EventManager
  17. def addResumingEventHandlerWithId(eventHandlerId: String, eventType: EventType, eventHandler: (Event) ⇒ Unit, eventArguments: JDIEventArgument*): String

    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

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

    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

    Definition Classes
    EventManager
  19. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  20. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  21. def disablePendingSupport(): Unit

    Disables pending support.

    Disables pending support.

    Definition Classes
    PendingRequestSupport
  22. def enablePendingSupport(): Unit

    Enables pending support.

    Enables pending support.

    Definition Classes
    PendingRequestSupport
  23. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

    Definition Classes
    Any
  29. def isPendingSupportEnabled: Boolean

    Indicates whether or not pending support is enabled.

    Indicates whether or not pending support is enabled.

    returns

    True if pending support enabled, otherwise false

    Definition Classes
    PendingRequestSupport
  30. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  31. def newEventId(): String

    Generates an id for a new event handler.

    Generates an id for a new event handler.

    returns

    The id as a string

    Attributes
    protected
    Definition Classes
    EventManager
  32. final def notify(): Unit

    Definition Classes
    AnyRef
  33. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  34. def pendingEventHandlers: Seq[EventHandlerInfo]

    Retrieves a list of all pending event handlers.

    Retrieves a list of all pending event handlers.

    returns

    The collection of event request information

    Definition Classes
    PendingEventHandlerSupportPendingEventHandlerSupportLike
  35. def processAllPendingEventHandlers(): Seq[EventHandlerInfo]

    Processes all pending event handlers.

    Processes all pending event handlers.

    returns

    The collection of successfully-processed event handlers

    Definition Classes
    PendingEventHandlerSupportPendingEventHandlerSupportLike
  36. def setPendingSupport(value: Boolean): Unit

    Sets enablement of pending support to the specified value.

    Sets enablement of pending support to the specified value.

    value

    True if enabling support, otherwise false

    Definition Classes
    PendingRequestSupport
  37. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  38. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from PendingRequestSupport

Inherited from EventManager

Inherited from AnyRef

Inherited from Any

Ungrouped