org.sigilaris.node.gossip.GossipTopicContractRegistry
Companion for GossipTopicContractRegistry providing factory methods.
Attributes
-
Companion
-
trait
-
Source
-
Contracts.scala
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
Creates a registry from one or more contracts, keyed by their topic.
Creates a registry from one or more contracts, keyed by their topic.
Type parameters
-
A
-
the artifact payload type
Value parameters
-
contracts
-
the contracts to register
Attributes
-
Returns
-
a registry containing all given contracts
-
Source
-
Contracts.scala
Creates a registry with exactly one contract.
Creates a registry with exactly one contract.
Type parameters
-
A
-
the artifact payload type
Value parameters
-
contract
-
the single contract to register
Attributes
-
Returns
-
a registry containing the given contract
-
Source
-
Contracts.scala