DirectionalSessionId

org.sigilaris.node.gossip.GossipIdentifiers$package.DirectionalSessionId

Companion for DirectionalSessionId.

Attributes

Source
GossipIdentifiers.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete methods

def parse(value: String): Either[String, DirectionalSessionId]

Parses a string into a validated directional session id.

Parses a string into a validated directional session id.

Value parameters

value

the raw string; must already be a lowercase canonical UUIDv4

Attributes

Returns

the validated id or an error message

Source
GossipIdentifiers.scala

Generates a random directional session identifier.

Generates a random directional session identifier.

Attributes

Returns

a new random session id

Source
GossipIdentifiers.scala

Extensions

Extensions

extension (id: DirectionalSessionId)
def value: String

Attributes

Source
GossipIdentifiers.scala