- Timestamp:
- 11/03/12 18:53:59 (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/DimState.h
r14541 r14552 11 11 #include "Description.h" 12 12 #include "StateMachineImp.h" 13 13 #include<iostream> 14 14 class DimState 15 15 { … … 409 409 std::vector<std::string> fServiceList; 410 410 411 std::set<std::string> fServers; 412 411 413 void CallbackServerAdd(const std::string &server) 412 414 { 415 DimDnsServerList::CallbackServerAdd(server); 416 417 if (fServers.find(server)!=fServers.end()) 418 return; 419 413 420 fStateMachine->Subscribe(server+"/SERVICE_LIST") 414 421 (fStateMachine->Wrap(std::bind(&DimDnsServiceList::HandlerServiceList, this, std::placeholders::_1))); 415 422 416 DimDnsServerList::CallbackServerAdd(server);423 fServers.insert(server); 417 424 } 418 425
Note:
See TracChangeset
for help on using the changeset viewer.