FACT++  1.0
void ConnectionFAD::StartAsyncRead ( )
inline

Definition at line 151 of file dclient5.cc.

References buffer, and Connection::HandleReadTimeout().

152  {
153  // Start also a dealine_time for a proper timeout
154  // Therefore we must know how often we expect messages
155  // FIXME: Add deadline_counter
156 
157  memset(fReadBuffer, 0, 100);
158 
159  // AsyncRead + Deadline
161  &Connection::HandleReceivedData*/);
163  }
void AsyncWait(boost::asio::deadline_timer &timer, int millisec, void(Connection::*handler)(const boost::system::error_code &))
Definition: Connection.h:75
boost::asio::deadline_timer fInTimeout
Definition: Connection.h:36
void AsyncRead(const boost::asio::mutable_buffers_1 buffers, int type=0)
Definition: Connection.cc:31
int buffer[BUFFSIZE]
Definition: db_dim_client.c:14
char fReadBuffer[1000]
Definition: dclient5.cc:42
virtual void HandleReadTimeout(const boost::system::error_code &)
Definition: Connection.h:138

+ Here is the call graph for this function: