PubSub

csw.command.client.models.framework.PubSub
See thePubSub companion trait
object PubSub

Attributes

Companion
trait
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Self type
PubSub.type

Members list

Type members

Classlikes

case class Publish[T](data: T) extends PublisherMessage[T]

Represents a publish action

Represents a publish action

Type parameters

T

represents the type of data that is published

Value parameters

data

of type T that gets published

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PublisherMessage[T]
trait PubSub[T]
class Object
trait Matchable
class Any
Show all
sealed trait PublisherMessage[T] extends PubSub[T]

Represents the messages about publishing data e.g Publish

Represents the messages about publishing data e.g Publish

Type parameters

T

represents the type of data that is published

Attributes

Supertypes
trait PubSub[T]
class Object
trait Matchable
class Any
Known subtypes
class Publish[T]
case class Subscribe[T](ref: ActorRef[T]) extends SubscriberMessage[T]

Represents the subscribe action where all the current state publishing from the particular component can be subscribed to

Represents the subscribe action where all the current state publishing from the particular component can be subscribed to

Type parameters

T

represents the type of data that is subscribed

Value parameters

ref

the reference of subscriber used to notify to when some data is published

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PubSub[T]
class Object
trait Matchable
class Any
Show all
case class SubscribeOnly[T](ref: ActorRef[T], names: Set[StateName]) extends SubscriberMessage[T]

Represents the subscribe action for current states specified by a set of stateNames

Represents the subscribe action for current states specified by a set of stateNames

Type parameters

T

represents the type of data that is subscribed

Value parameters

names

set of stateNames uniquely representating current states for a component

ref

the reference of subscriber used to notify to when some data is published

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PubSub[T]
class Object
trait Matchable
class Any
Show all
sealed trait SubscriberMessage[T] extends PubSub[T]

Represents the messages about subscribing data e.g Subscribe and Unsubscribe

Represents the messages about subscribing data e.g Subscribe and Unsubscribe

Type parameters

T

represents the type of data that is subscribed

Attributes

Supertypes
trait PubSub[T]
class Object
trait Matchable
class Any
Known subtypes
class Subscribe[T]
class SubscribeOnly[T]
class Unsubscribe[T]
case class Unsubscribe[T](ref: ActorRef[T]) extends SubscriberMessage[T]

Represents a unsubscribe action

Represents a unsubscribe action

Type parameters

T

represents the type of data that is subscribed

Value parameters

ref

the reference of subscriber that no longer wishes to receive notification for published data

Attributes

Supertypes
trait Serializable
trait Product
trait Equals
trait PubSub[T]
class Object
trait Matchable
class Any
Show all

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror