Trait/Object

bridge

JSAccess

Related Docs: object JSAccess | package bridge

Permalink

trait JSAccess extends AnyRef

Provide access to remote page with JavaScript engine

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

Type Members

  1. case class Request(id: Int, args: Seq[Any], resultPromise: Promise[Any]) extends Product with Serializable

    Permalink

Abstract Value Members

  1. implicit abstract val executionContext: ExecutionContext

    Permalink
  2. abstract def send(args: Seq[Any]): Unit

    Permalink

    Abstract method sends message to remote page

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 array(linkId: String): JSArray

    Permalink
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. var callbacks: Map[String, (Any) ⇒ Unit]

    Permalink
    Attributes
    protected
  7. def clone(): AnyRef

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

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

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

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  11. def fireCallback(callbackId: String, arg: Any): Unit

    Permalink
  12. def flush(): Unit

    Permalink
  13. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
  14. lazy val global: JSObj

    Permalink
  15. def hashCode(): Int

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

    Permalink
    Definition Classes
    Any
  17. val lastCallbackId: AtomicInteger

    Permalink
    Attributes
    protected
  18. val lastReqId: AtomicInteger

    Permalink

    Increment it after request

    Increment it after request

    Attributes
    protected
  19. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  20. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  22. def obj(linkId: String): JSObj

    Permalink
  23. def packArgs(args: Seq[Any]): Seq[Any]

    Permalink
  24. def platformDependentPack(value: Any): Any

    Permalink
  25. def platformDependentUnpack(value: Any): Any

    Permalink
  26. var promises: Map[Int, Promise[Any]]

    Permalink

    List of promises of requests.

    List of promises of requests. Resolves by income messages

    Attributes
    protected
  27. def registerCallback[T](f: (T) ⇒ Unit): Future[JSObj]

    Permalink
  28. def request[A](args: Any*): Future[A]

    Permalink

    Make request to remote page.

    Make request to remote page.

    A

    Type you need

    returns

    Future with result. It may be any basic type or JSLink

  29. def resolvePromise(reqId: Int, isSuccess: Boolean, res: Any): Unit

    Permalink
  30. def sendRequest(args: Seq[Any])(exceptionHandler: (Throwable) ⇒ Unit): Unit

    Permalink
    Attributes
    protected
  31. def sendRequest(request: Request): Unit

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  34. def unpackArg[A](arg: Any): A

    Permalink
  35. final def wait(): Unit

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped