Packages

object DistributedPubSubMediator

Source
DistributedPubSubMediator.scala
Linear Supertypes
Content Hierarchy
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. DistributedPubSubMediator
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Type Members

  1. sealed abstract class Count extends AnyRef
  2. final case class CountSubscribers(topic: String) extends Product with Serializable
  3. final case class CurrentTopics(topics: Set[String]) extends Product with Serializable

    Reply to GetTopics.

    Reply to GetTopics.

    Annotations
    @SerialVersionUID()
  4. sealed abstract class GetTopics extends AnyRef
  5. final case class Publish(topic: String, msg: Any, sendOneMessageToEachGroup: Boolean) extends DistributedPubSubMessage with WrappedMessage with Product with Serializable
    Annotations
    @SerialVersionUID()
  6. final case class Put(ref: ActorRef) extends Product with Serializable
    Annotations
    @SerialVersionUID()
  7. final case class Remove(path: String) extends Product with Serializable
    Annotations
    @SerialVersionUID()
  8. final case class Send(path: String, msg: Any, localAffinity: Boolean) extends DistributedPubSubMessage with WrappedMessage with Product with Serializable
    Annotations
    @SerialVersionUID()
  9. final case class SendToAll(path: String, msg: Any, allButSelf: Boolean = false) extends DistributedPubSubMessage with WrappedMessage with Product with Serializable
    Annotations
    @SerialVersionUID()
  10. final case class Subscribe(topic: String, group: Option[String], ref: ActorRef) extends Product with Serializable
    Annotations
    @SerialVersionUID()
  11. final case class SubscribeAck(subscribe: Subscribe) extends DeadLetterSuppression with Product with Serializable
    Annotations
    @SerialVersionUID()
  12. final case class Unsubscribe(topic: String, group: Option[String], ref: ActorRef) extends Product with Serializable
    Annotations
    @SerialVersionUID()
  13. final case class UnsubscribeAck(unsubscribe: Unsubscribe) extends Product with Serializable
    Annotations
    @SerialVersionUID()

Value Members

  1. def getCountInstance: Count

    Java API: Send this message to the mediator and it will reply with an Integer of the number of subscribers.

  2. def getTopicsInstance: GetTopics

    Java API: Send this message to the mediator and it will reply with DistributedPubSubMediator.CurrentTopics containing the names of the (currently known) registered topic names.

  3. def props(settings: DistributedPubSubSettings): Props

    Scala API: Factory method for DistributedPubSubMediator akka.actor.Props.

  4. case object Count extends Count with Product with Serializable

    Scala API: Send this message to the mediator and it will reply with an Int of the number of subscribers.

    Scala API: Send this message to the mediator and it will reply with an Int of the number of subscribers. Only for testing purposes, to poll/await replication.

  5. case object GetTopics extends GetTopics with Product with Serializable

    Send this message to the mediator and it will reply with CurrentTopics containing the names of the (currently known) registered topic names.

    Send this message to the mediator and it will reply with CurrentTopics containing the names of the (currently known) registered topic names.

    Annotations
    @SerialVersionUID()
  6. object Publish extends Serializable
  7. object Subscribe extends Serializable
  8. object Unsubscribe extends Serializable