PeerIdentity
org.sigilaris.node.gossip.GossipIdentifiers$package.PeerIdentity
object PeerIdentity
Companion for PeerIdentity.
Attributes
- Source
- GossipIdentifiers.scala
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Self type
-
PeerIdentity.type
Members list
Value members
Concrete methods
Parses and validates a peer identity string.
Parses and validates a peer identity string.
Value parameters
- value
-
the raw string
Attributes
- Returns
-
the validated identity or an error message
- Source
- GossipIdentifiers.scala
Parses a peer identity, throwing on invalid input.
Parses a peer identity, throwing on invalid input.
Value parameters
- value
-
the raw string
Attributes
- Returns
-
the validated identity
- Throws
-
IllegalArgumentException
if the value is invalid
- Source
- GossipIdentifiers.scala
Givens
Givens
Attributes
- Source
- GossipIdentifiers.scala
Extensions
Extensions
extension (identity: PeerIdentity)
Attributes
- Returns
-
the underlying string value
- Source
- GossipIdentifiers.scala
In this article