PeerState class