Object

akka.wamp

Messages

Related Doc: package wamp

Permalink

object Messages

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. Messages
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. case class Abort(details: Dict, reason: Uri) extends Message with Product with Serializable

    Permalink

    Sent by a Peer to abort the opening of a Session.

    Sent by a Peer to abort the opening of a Session. No response is expected.

    [ABORT, Details|dict, Reason|uri]

  2. trait Builder extends AnyRef

    Permalink

    Build a message instance

  3. case class Error(requestType: Int, requestId: Long, details: Dict, error: Uri) extends Message with Product with Serializable

    Permalink

    Error reply sent by a Peer as an error response to different kinds of requests.

    Error reply sent by a Peer as an error response to different kinds of requests.

    [ERROR, REQUEST.Type|int, REQUEST.Request|id, Details|dict, Error|uri [ERROR, REQUEST.Type|int, REQUEST.Request|id, Details|dict, Error|uri, Arguments|list] [ERROR, REQUEST.Type|int, REQUEST.Request|id, Details|dict, Error|uri, Arguments|list, ArgumentsKw|dict]

  4. case class Event(subscriptionId: Id, publicationId: Id, details: Dict, arguments: List[Any], argumentsKw: Option[Dict]) extends Message with Product with Serializable

    Permalink

    Event dispatched by Broker to Subscribers for Subscriptions the event was matching.

    Event dispatched by Broker to Subscribers for Subscriptions the event was matching.

    [EVENT, SUBSCRIBED.Subscription|id, PUBLISHED.Publication|id, Details|dict, Arguments|list, ArgumentsKw|dict]

    subscriptionId

    is the ID for the subscription under which the Subscribe receives the event (the ID for the subscription originally handed out by the Broker to the Subscriber.

    publicationId

    is the ID of the publication of the published event

    details

    is a dictionary that allows to provide additional event details in an extensible way.

    arguments

    is a list of application-level event payload elements. The list may be of zero length.

    argumentsKw

    is an optional dictionary containing application-level event payload, provided as keyword arguments. The dictionary may be empty.

  5. case class Goodbye(details: Dict, reason: Uri) extends Message with Product with Serializable

    Permalink

    Sent by a Peer to close a previously opened Session.

    Sent by a Peer to close a previously opened Session. Must be echo'ed by the receiving Peer.

    [GOODBYE, Details|dict, Reason|uri]

  6. class GoodbyeBuilder extends Builder

    Permalink

    Build an Goodbye instance.

  7. case class Hello(realm: Uri, details: Dict) extends Message with Product with Serializable

    Permalink

    Sent by a Client to initiate opening of a Session to a Router attaching to a Realm.

    Sent by a Client to initiate opening of a Session to a Router attaching to a Realm.

    [HELLO, Realm|uri, Details|dict]

  8. class HelloBuilder extends Builder

    Permalink

    Build an Hello instance.

    Build an Hello instance.

    WAMP uses "roles & features announcement" instead of "protocol versioning" to allow

    • implementations only supporting subsets of functionality
    • future extensibility

    A Client must announce the roles it supports via "Hello.Details.roles|dict", with a key mapping to a "Hello.Details.roles.<role>|dict" where "<role>" can be:

    • "publisher"
    • "subscriber"
    • "caller"
    • "callee"
  9. case class Publish(requestId: Id, options: Dict, topic: Uri, arguments: List[Any], argumentsKw: Option[Dict]) extends Message with Product with Serializable

    Permalink

    Sent by a Publisher to a Broker to publish an Event.

    Sent by a Publisher to a Broker to publish an Event.

    [PUBLISH, Request|id, Options|dict, Topic|uri, Arguments|list, ArgumentsKw|dict]

    requestId

    is a random, ephemeral ID chosen by the Publisher and used to correlate the Broker's response with the request.

    options

    is a dictionary that allows to provide additional publication request details in an extensible way.

    topic

    is the topic published to.

    arguments

    is a list of application-level event payload elements. The list may be of zero length.

    argumentsKw

    is an optional dictionary containing application-level event payload, provided as keyword arguments. The dictionary may be empty.

  10. class PublishBuilder extends Builder

    Permalink

    Build an Publish instance.

  11. case class Published(requestId: Id, publicationId: Id) extends Message with Product with Serializable

    Permalink

    Acknowledge sent by a Broker to a Publisher for acknowledged Publications.

    Acknowledge sent by a Broker to a Publisher for acknowledged Publications.

    [PUBLISHED, PUBLISH.Request|id, Publication|id]

  12. case class Subscribe(requestId: Id, options: Dict, topic: Uri) extends Message with Product with Serializable

    Permalink

    Subscribe request sent by a Subscriber to a Broker to subscribe to a Topic.

    Subscribe request sent by a Subscriber to a Broker to subscribe to a Topic.

    [SUBSCRIBE, Request|id, Options|dict, Topic|uri]

    requestId

    is a random, ephemeral ID chosen by the Subscribe and used to correlate the Broker's response with the request

    options

    is a dictionary that allows to provide additional subscription request details in a extensible way

    topic

    is the topic the Subscribe wants to subscribe to

  13. class SubscribeBuilder extends Builder

    Permalink

    Build an Subscribe instance.

  14. case class Subscribed(requestId: Id, subscriptionId: Id) extends Message with Product with Serializable

    Permalink

    Acknowledge sent by a Broker to a Subscriber to acknowledge a subscription.

    Acknowledge sent by a Broker to a Subscriber to acknowledge a subscription.

    [SUBSCRIBED, SUBSCRIBE.Request|id, Subscription|id]

    requestId

    is the ID from the original Subscribe request

    subscriptionId

    is an ID chosen by the Broker for the subscription

  15. case class Unsubscribe(requestId: Id, subscriptionId: Id) extends Message with Product with Serializable

    Permalink

    Unsubscribe request sent by a Subscriber to a Broker to unsubscribe from a Subscription.

    Unsubscribe request sent by a Subscriber to a Broker to unsubscribe from a Subscription. [UNSUBSCRIBE, Request|id, SUBSCRIBED.Subscription|id]

    requestId

    is a random, ephemeral ID chosen by the Unsubscribe and used to correlate the Broker's response with the request

    subscriptionId

    is the ID for the subscription to unsubscribe from, originally handed out by the Broker to the Subscriber

  16. class UnsubscribeBuilder extends Builder

    Permalink

    Build an Unsubscribe instance.

  17. case class Unsubscribed(requestId: Id) extends Message with Product with Serializable

    Permalink

    Acknowledge sent by a Broker to a Subscriber to acknowledge unsubscription.

    Acknowledge sent by a Broker to a Subscriber to acknowledge unsubscription.

    [UNSUBSCRIBED, UNSUBSCRIBE.Request|id]

    requestId

    is the ID from the original Subscribed request

  18. case class Welcome(sessionId: Long, details: Dict) extends Message with Product with Serializable

    Permalink

    Sent by a Router to accept a Client to let it know the Session is now open

    Sent by a Router to accept a Client to let it know the Session is now open

    [WELCOME, Session|id, Details|dict]

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. val ABORT: Int

    Permalink
  5. val ERROR: Int

    Permalink
  6. val EVENT: Int

    Permalink
  7. val GOODBYE: Int

    Permalink
  8. val HELLO: Int

    Permalink
  9. val PUBLISH: Int

    Permalink
  10. val PUBLISHED: Int

    Permalink
  11. val SUBSCRIBE: Int

    Permalink
  12. val SUBSCRIBED: Int

    Permalink
  13. val UNSUBSCRIBE: Int

    Permalink
  14. val UNSUBSCRIBED: Int

    Permalink
  15. val WELCOME: Int

    Permalink
  16. final def asInstanceOf[T0]: T0

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

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

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

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

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

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

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

    Permalink
    Definition Classes
    Any
  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. final def synchronized[T0](arg0: ⇒ T0): T0

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

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

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

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

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

Inherited from AnyRef

Inherited from Any

Ungrouped