#include "network_client.h"

class infrastructure_client: public network_client{
  public:
    
  static const int MAX_NEIGHBORS = 10;
  static const int MAX_PEERS = 1000;
  static const float RESPOND_PROBABILITY = 0.1;
  
  infrastructure_client();
  ~infrastructure_client() {};

  //send a message to some number of other nodes dictated by hops
  //int broadcast(int hops, char *msg, int len);
  
  void message_handler(node_id sender, network_protocol::message_header *h,
                       char *msg, int len);
  
};
