SessionSubscription

org.sigilaris.node.gossip.SessionSubscription
See theSessionSubscription companion object
final case class SessionSubscription

An immutable set of chain-topic pairs that a session is subscribed to.

Value parameters

values

the subscribed chain-topic pairs

Attributes

Companion
object
Source
GossipIdentifiers.scala
Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all

Members list

Value members

Concrete methods

def contains(chainTopic: ChainTopic): Boolean

Checks whether the subscription includes the given chain-topic pair.

Checks whether the subscription includes the given chain-topic pair.

Value parameters

chainTopic

the chain-topic pair

Attributes

Returns

true if subscribed

Source
GossipIdentifiers.scala
def contains(chainId: ChainId, topic: GossipTopic): Boolean

Checks whether the subscription includes the given chain and topic.

Checks whether the subscription includes the given chain and topic.

Value parameters

chainId

the chain identifier

topic

the gossip topic

Attributes

Returns

true if subscribed

Source
GossipIdentifiers.scala

Inherited methods

def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product