tuweni / org.apache.tuweni.rlpx.wire / SubProtocolHandler / handleNewPeerConnection

handleNewPeerConnection

abstract fun handleNewPeerConnection(connection: WireConnection!): AsyncCompletion! (source)

Handle a new peer connection

Parameters

connection - WireConnection!: the new peer connection

Return
AsyncCompletion!: a handle to the completion of the addition of the new peer.