public class PeerInfo extends Object
| Constructor and Description | 
|---|
PeerInfo(String id,
        String address,
        VotingState votingState)
Constructs an instance. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
String | 
getAddress()  | 
String | 
getId()  | 
VotingState | 
getVotingState()  | 
boolean | 
isVoting()  | 
void | 
setAddress(String address)  | 
void | 
setVotingState(VotingState votingState)  | 
String | 
toString()  | 
public PeerInfo(String id, String address, VotingState votingState)
id - the id of the peer.address - the address of the peer.votingState - the VotingState of the peer.public String getId()
public String getAddress()
public VotingState getVotingState()
public boolean isVoting()
public void setAddress(String address)
public void setVotingState(VotingState votingState)
Copyright © 2019 OpenDaylight. All rights reserved.