Class/Object

akka.wamp.router

Router

Related Docs: object Router | package router

Permalink

final class Router extends Peer with Broker with Actor with ActorLogging

A Router is a Peer of the roles Broker and Dealer which is responsible for generic call and event routing and do not run any application code.

Linear Supertypes
ActorLogging, Actor, Broker, Peer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Router
  2. ActorLogging
  3. Actor
  4. Broker
  5. Peer
  6. AnyRef
  7. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Router(scopes: Map[Symbol, Scope], listener: Option[ActorRef])(implicit mat: ActorMaterializer)

    Permalink

Type Members

  1. type Receive = PartialFunction[Any, Unit]

    Permalink
    Definition Classes
    Actor

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 aroundPostRestart(reason: Throwable): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  5. def aroundPostStop(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  6. def aroundPreRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  7. def aroundPreStart(): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  8. def aroundReceive(receive: actor.Actor.Receive, msg: Any): Unit

    Permalink
    Attributes
    protected[akka]
    Definition Classes
    Actor
  9. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  10. val autoCreateRealms: Boolean

    Permalink
  11. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. implicit val context: ActorContext

    Permalink
    Definition Classes
    Actor
  13. final def eq(arg0: AnyRef): Boolean

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  17. def handlePublications: Receive

    Permalink

    Handle PUBLISH and EVENT messages

    Handle PUBLISH and EVENT messages

    Definition Classes
    Broker
  18. def handleSubscriptions: Receive

    Permalink

    Handle SUBSCRIBE and UNSUBSCRIBE messages

    Handle SUBSCRIBE and UNSUBSCRIBE messages

    Definition Classes
    Broker
  19. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
  20. def ifSessionOpen(fn: (Session) ⇒ Unit): Unit

    Permalink
    Definition Classes
    Broker
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. val listener: Option[ActorRef]

    Permalink
  23. def log: LoggingAdapter

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

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

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

    Permalink
    Definition Classes
    AnyRef
  27. def postRestart(reason: Throwable): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  28. def postStop(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  29. def preRestart(reason: Throwable, message: Option[Any]): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  30. def preStart(): Unit

    Permalink
    Definition Classes
    Actor
    Annotations
    @throws( classOf[java.lang.Exception] )
  31. var publications: Set[Id]

    Permalink

    Set of publication IDs

    Set of publication IDs

    Definition Classes
    Broker
  32. val realms: Set[Uri]

    Permalink

    Map of existing realms.

    Map of existing realms.

    A Realm is a routing and administrative domain, optionally protected by authentication and authorization.

    Messages are only routed within a Realm.

  33. def receive: PartialFunction[Any, Unit]

    Permalink

    Handle either transports, sessions, subscriptions, publications, registrations or invocations

    Handle either transports, sessions, subscriptions, publications, registrations or invocations

    Definition Classes
    Router → Actor
  34. val roles: Set[String]

    Permalink
  35. val scopes: Map[Symbol, Scope]

    Permalink
  36. implicit final val self: ActorRef

    Permalink
    Definition Classes
    Actor
  37. final def sender(): ActorRef

    Permalink
    Definition Classes
    Actor
  38. val sessions: Map[Id, Session]

    Permalink

    Map of open Sessions

  39. var subscriptions: Map[Id, Subscription]

    Permalink

    Map of subscriptions.

    Map of subscriptions. Each entry is for one topic only and it can have one or many subscribers

    Definition Classes
    Broker
  40. def supervisorStrategy: SupervisorStrategy

    Permalink
    Definition Classes
    Actor
  41. def switchOn(client: ActorRef)(whenSessionOpen: (Session) ⇒ Unit, otherwise: (ActorRef) ⇒ Unit): Unit

    Permalink
  42. final def synchronized[T0](arg0: ⇒ T0): T0

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

    Permalink
    Definition Classes
    AnyRef → Any
  44. def unhandled(message: Any): Unit

    Permalink
    Definition Classes
    Actor
  45. def unsubscribe(client: ActorRef, subscription: Subscription): Unit

    Permalink
    Definition Classes
    Broker
  46. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  49. val welcomeDetails: Dict

    Permalink

Inherited from ActorLogging

Inherited from Actor

Inherited from Broker

Inherited from Peer

Inherited from AnyRef

Inherited from Any

Ungrouped