FACT++  1.0
void ConnectionFSC::StartRead ( )
inlineprivate

Definition at line 461 of file fscctrl.cc.

References buffer, HandleRead(), and Connection::HandleReadTimeout().

462  {
463  ba::async_read(*this, ba::buffer(&fMsg, sizeof(FSC::BinaryOutput_t)),
464  boost::bind(&ConnectionFSC::HandleRead, this,
465  dummy::error, dummy::bytes_transferred));
466 
467  AsyncWait(fInTimeout, 35000, &Connection::HandleReadTimeout); // 30s
468  }
FSC::BinaryOutput_t fMsg
Definition: fscctrl.cc:30
void HandleRead(const boost::system::error_code &err, size_t bytes_received)
Definition: fscctrl.cc:470
int buffer[BUFFSIZE]
Definition: db_dim_client.c:14
virtual void HandleReadTimeout(const boost::system::error_code &)
Definition: Connection.h:138

+ Here is the call graph for this function: