FACT++  1.0
virtual void DimDnsServerList::Subscribe ( StateMachineImp imp)
inlinevirtual

Reimplemented in DimDnsServiceList.

Definition at line 362 of file DimState.h.

References HandlerServer(), StateMachineImp::Subscribe(), and StateMachineImp::Wrap().

Referenced by DimDnsServiceList::Subscribe().

363  {
364  imp.Subscribe("DIS_DNS/SERVER_LIST")
365  (imp.Wrap(std::bind(&DimDnsServerList::HandlerServer, this, std::placeholders::_1)));
366  }
virtual int HandlerServer(const EventImp &evt)
Definition: DimState.h:343
EventImp & Subscribe(const std::string &name)
std::function< int(const EventImp &)> Wrap(const std::function< int(const EventImp &)> &func)

+ Here is the call graph for this function:

+ Here is the caller graph for this function: