4 #include <boost/asio.hpp>
5 #include <boost/bind.hpp>
6 #include <boost/function.hpp>
7 #include <boost/scoped_ptr.hpp>
8 #include <boost/random.hpp>
40 return session && session->
Up();
void Notify(const SessionKey &key, const BFD::BFDState &new_state)
void DeleteClientSessions()
Session * GetSession(const SessionKey &key) const
void AddSession(const SessionKey &key, const SessionConfig &config)
bool Up(const SessionKey &key) const
void DeleteSession(const SessionKey &key)
Client(Connection *cm, ClientId client_id=0)
virtual Server * GetServer() const =0
virtual void NotifyStateChange(const SessionKey &key, const bool &up)=0
void DeleteClientSessions()
void AddSession(const SessionKey &key, const SessionConfig &config, ChangeCb cb)
Session * SessionByKey(const boost::asio::ip::address &address, const SessionIndex &index=SessionIndex())
void DeleteSession(const SessionKey &key)