Package org.fisco.bcos.sdk.channel
Interface PeerSelectRule
public interface PeerSelectRule
-
Method Summary
Modifier and Type Method Description java.lang.String
select(java.util.List<ConnectionInfo> conns)
PeerSelectRule Customize a rule to select a peer to send message to
-
Method Details
-
select
PeerSelectRule Customize a rule to select a peer to send message to- Parameters:
conns
- the list of connection info- Returns:
- the selected peer
-