static fun isComplementedBy(one: RLPxConnection, other: RLPxConnection): Boolean
(source)
Checks if two RLPx connections represent both ends of a connection.
Used for testing.
other
- an other RLPx connection
Return
true if both connections refer to the same peers, on each side of the connection