FACT++  1.0
void Connection::ConnectIter ( boost::asio::ip::tcp::resolver::iterator  endpoint_iterator,
const boost::system::error_code &  error 
)
private

Definition at line 326 of file Connection.cc.

References HandleConnectionTimer().

Referenced by AsyncWait(), and AsyncWrite().

327 {
328  if (ConnectImp(*iterator, error))
329  return;
330 
331  // Go on with the next
332  if (++iterator != tcp::resolver::iterator())
333  {
334  AsyncConnect(iterator);
335  return;
336  }
337 
338  // No more entries to try, if we would not put anything else
339  // into the queue anymore it would now return (run() would return)
341 }
boost::asio::deadline_timer fConnectionTimer
Definition: Connection.h:40
bool ConnectImp(const boost::asio::ip::tcp::endpoint &endpoint, const boost::system::error_code &error)
Definition: Connection.cc:257
void AsyncWait(boost::asio::deadline_timer &timer, int millisec, void(Connection::*handler)(const boost::system::error_code &))
Definition: Connection.h:75
void HandleConnectionTimer(const boost::system::error_code &error)
Definition: Connection.cc:230
void AsyncConnect()
Definition: Connection.cc:76

+ Here is the call graph for this function:

+ Here is the caller graph for this function: