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, Role, Peer, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Router
  2. ActorLogging
  3. Actor
  4. Broker
  5. Role
  6. Peer
  7. AnyRef
  8. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Router(scopes: Map[Symbol, IdScope])(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. def clone(): AnyRef

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

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

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

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

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

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

    Permalink

    Handle PUBLISH and EVENT messages

    Handle PUBLISH and EVENT messages

    Definition Classes
    Broker
  17. def handleSubscriptions: Receive

    Permalink

    Handle SUBSCRIBE and UNSUBSCRIBE messages

    Handle SUBSCRIBE and UNSUBSCRIBE messages

    Definition Classes
    Broker
  18. def hashCode(): Int

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

    Permalink
    Definition Classes
    Broker
  20. val iface: String

    Permalink
  21. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  22. def log: LoggingAdapter

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

    Permalink
    Definition Classes
    AnyRef
  24. final def nextId(scope: IdScope, excludes: Set[Id] = Set(), id: Id = 0): Id

    Permalink
    Annotations
    @tailrec()
  25. final def notify(): Unit

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

    Permalink
    Definition Classes
    AnyRef
  27. val port: Int

    Permalink
  28. def postRestart(reason: Throwable): Unit

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

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

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

    Permalink
    Definition Classes
    Router → Actor
    Annotations
    @throws( classOf[Exception] )
  32. var publications: Set[Id]

    Permalink

    Set of publication IDs

    Set of publication IDs

    Definition Classes
    Broker
  33. 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.

  34. 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
  35. val roles: Set[String]

    Permalink
  36. val scopes: Map[Symbol, IdScope]

    Permalink
  37. implicit final val self: ActorRef

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

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

    Permalink

    Map of open Sessions

  40. 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
  41. def supervisorStrategy: SupervisorStrategy

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

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

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

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

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

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

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

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

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

    Permalink

Inherited from ActorLogging

Inherited from Actor

Inherited from Broker

Inherited from Role

Inherited from Peer

Inherited from AnyRef

Inherited from Any

Ungrouped