00001 #pragma once
00002
00003 #include "Address.h"
00004
00005 class CStreamBootPull
00006 {
00007 public:
00008 typedef set<CAddress> List;
00009
00010 private:
00011 List hosts;
00012
00013 public:
00014 CStreamBootPull() { }
00015 virtual ~CStreamBootPull() { }
00016
00017 void Register(CAddress host);
00018 void Deregister(CAddress host);
00019
00020 inline List* Fetch() { return &this->hosts; }
00021 };