Class

org.scaladebugger.api.profiles

RequestHelper

Related Doc: package profiles

Permalink

class RequestHelper[E <: Event, EI <: EventInfo, RequestArgs, CounterKey] extends AnyRef

Represents the base request that abstracts functionality common among all requests.

E

The JDI event

EI

The event info type to transform the JDI event into

RequestArgs

The arguments used to create a request

CounterKey

The key to use when looking up a pipeline counter to increment or decrement

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

Instance Constructors

  1. new RequestHelper(scalaVirtualMachine: ScalaVirtualMachine, eventManager: EventManager, etInstance: EventType, _newRequestId: () ⇒ String, _newRequest: (String, RequestArgs, Seq[JDIRequestArgument]) ⇒ Try[String], _hasRequest: (RequestArgs) ⇒ Boolean, _removeRequestById: (String) ⇒ Unit, _newEventInfo: (ScalaVirtualMachine, E, Seq[JDIArgument]) ⇒ EI, _retrieveRequestInfo: (String) ⇒ Option[RequestInfo], _includeUniqueId: Boolean = true)

    Permalink

    scalaVirtualMachine

    The destination for the requests

    eventManager

    The low-level event manager to listen to events

    etInstance

    The type of event to

    _newRequestId

    Generates a new request id

    _newRequest

    Creates a new request using the provided request id, request arguments, and collection of JDI arguments

    _hasRequest

    Determines whether a request exists with the provided request arguments

    _removeRequestById

    Removes a request using its id

    _newEventInfo

    Creates a new event info pipeline using the provided Scala virtual machine, JDI event, and collection of JDI arguments

    _retrieveRequestInfo

    Retrieves the information for a request using its request id, returning Some(info) if found

    _includeUniqueId

    If true, includes a unique id on each new request and filters the generated pipelines using the unique id property filter (should be set to false for events without requests such as VM Start)

Type Members

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

    Permalink

    Represents the combination of event and data returned.

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. final def asInstanceOf[T0]: T0

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  8. val eventManager: EventManager

    Permalink

    The low-level event manager to listen to events

    The low-level event manager to listen to events

    Attributes
    protected
  9. def finalize(): Unit

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  14. def newEventPipeline(requestId: String, eventArgs: Seq[JDIEventArgument], counterKey: CounterKey): Try[IdentityPipeline[EventAndData]]

    Permalink

    Creates a new pipeline of events and data using the given arguments.

    Creates a new pipeline of events and data using the given arguments. The pipeline is NOT memoized; therefore, each call creates a new pipeline with a new underlying event handler feeding the pipeline. This means that the pipeline needs to be properly closed to remove the event handler.

    requestId

    The id of the request whose events to stream through the new pipeline

    counterKey

    The key used to increment and decrement the underlying pipeline counter

    returns

    Success containing new event and data pipeline, otherwise a failure

  15. def newRequest(requestArgs: RequestArgs, jdiRequestArgs: Seq[JDIRequestArgument]): Try[String]

    Permalink

    Creates a new request using the given arguments.

    Creates a new request using the given arguments. The request is memoized, meaning that the same request will be returned for the same arguments. The memoized result will be thrown out if the underlying request storage indicates that the request has been removed.

    requestArgs

    The custom request arguments

    jdiRequestArgs

    The JDI request arguments

    returns

    Success containing the event id, otherwise a failure

  16. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  18. val scalaVirtualMachine: ScalaVirtualMachine

    Permalink

    The destination for the requests

    The destination for the requests

    Attributes
    protected
  19. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped