tuweni / org.apache.tuweni.rlpx / WireConnectionRepository / get

get

@Nullable abstract fun get(id: String!): WireConnection? (source)

Gets a wire connection by its identifier, as provided by org.apache.tuweni.rlpx.wire.DefaultWireConnection#id

Parameters

id - String!: the identifier of the wire connection

Return
WireConnection?: the wire connection associated with the identifier, or null if no such wire connection exists.