Packages

  • package root
    Definition Classes
    root
  • package akka
    Definition Classes
    root
  • package wamp

    Contains classes, traits, types and functions to be used to write applications based on WAMP - Web Application Messaging Protocol

    Contains classes, traits, types and functions to be used to write applications based on WAMP - Web Application Messaging Protocol

    Client

    Akka Wamp provides you with three distinct Client APIs in the wamp.client package

    • Actor based
    • Future based
    • Stream based

    Router

    Akka Wamp provides you with a basic router implementation in the wamp.router package

    Definition Classes
    akka
  • package client

    Contains classes, traits, types and functions to be used to implement WAMP clients in Scala.

    Contains classes, traits, types and functions to be used to implement WAMP clients in Scala.

    Please refer to the official Akka Wamp User's Guide published online for further details.

    Actors

    Is the low level Client API.

    Futures

    Is the high level Client API

    import akka.actor._
    import akka.wamp.client._
    import com.typesafe.config._
    
    val config = ConfigFactory.load("my.conf")
    val system = ActorSystem("myapp", config)
    val client = Client(system)
    
    client.connect("myrouter").foreach { conn =>
      conn.open("myrealm").foreach { implicit s =>
    
        publish("mytopic", List("paolo", 99))
    
        subscribe("mytopic", (name: String, age: Int) = {
          println(s"$name is $age years old")
        }
    
        call("myprocedure", List("paolo", 99))
    
        register("myprocedure", (name: String, age: Int) => {
          name.length + age
        })
      }
    }

    Streams

    TBD

    Definition Classes
    wamp
    See also

    akka.wamp.client.japi for Java API

  • package japi

    Contains classes to implement clients in Java.

    Contains classes to implement clients in Java.

    ...
    Definition Classes
    client
    Note

    Java API

    See also

    akka.wamp.client

  • Client
  • ClientActor
  • ClientException
  • Connection
  • Macros
  • Publication
  • Registration
  • Session
  • Subscription
t

akka.wamp.client

ClientActor

trait ClientActor extends Actor with SessionIdScope

Linear Supertypes
SessionIdScope, IdScope, Actor, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. ClientActor
  2. SessionIdScope
  3. IdScope
  4. Actor
  5. AnyRef
  6. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Receive = PartialFunction[Any, Unit]
    Definition Classes
    Actor

Abstract Value Members

  1. abstract def receive: actor.Actor.Receive
    Definition Classes
    Actor

Concrete Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. def aroundPostRestart(reason: Throwable): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  5. def aroundPostStop(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  6. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  7. def aroundPreStart(): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  8. def aroundReceive(receive: actor.Actor.Receive, msg: Any): Unit
    Attributes
    protected[akka]
    Definition Classes
    Actor
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  11. val config: Config

    The Akka Wamp Client API configuration

  12. implicit val context: ActorContext
    Definition Classes
    Actor
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. implicit val executionContext: ExecutionContextExecutor

    Execution context

  16. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. def generate(oldIds: Set[Id], fn: (Id) ⇒ Id): Id
    Attributes
    protected
    Definition Classes
    IdScope
  18. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
  19. def hashCode(): Int
    Definition Classes
    AnyRef → Any
  20. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  21. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  22. def nextRequestId(excludes: Set[Id]): Id

    Generate the next identifier within this scope excluding the provided ones

    Generate the next identifier within this scope excluding the provided ones

    excludes

    is the identifiers set to be excluded

    returns

    the next identifier

    Definition Classes
    SessionIdScope → IdScope
  23. def nextRequestId(): Id

    Generate the next identifier within this scope

    Generate the next identifier within this scope

    returns

    the next identifier

    Definition Classes
    IdScope
  24. final def notify(): Unit
    Definition Classes
    AnyRef
  25. final def notifyAll(): Unit
    Definition Classes
    AnyRef
  26. def postRestart(reason: Throwable): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  27. def postStop(): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  28. def preRestart(reason: Throwable, message: Option[Any]): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  29. def preStart(): Unit
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  30. val scheduler: Scheduler

    Task scheduler

  31. implicit final val self: ActorRef
    Definition Classes
    Actor
  32. final def sender(): ActorRef
    Definition Classes
    Actor
  33. val strictUris: Boolean

    The boolean switch (default is false) to validate against strict URIs rather than loose URIs

  34. def supervisorStrategy: SupervisorStrategy
    Definition Classes
    Actor
  35. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  36. implicit val system: ActorSystem

    Actor system

  37. def toString(): String
    Definition Classes
    AnyRef → Any
  38. def unhandled(message: Any): Unit
    Definition Classes
    Actor
  39. implicit val validator: Validator

    WAMP types Validator

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

Inherited from SessionIdScope

Inherited from IdScope

Inherited from Actor

Inherited from AnyRef

Inherited from Any

Ungrouped