FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
void tcp_connection::start
(
)
inline
Definition at line
485
of file
ftm.cc
.
References
buffer
, and
SendDynData()
.
486
{
487
// Ownership of buffer must be valid until Handler is called.
488
489
// Emit something to be written to the socket
490
fBufCommand
.resize(5);
491
AsyncRead
(
ba::buffer
(
fBufCommand
));
492
493
AsyncWait
(
fTriggerDynData
, 1000, &
tcp_connection::SendDynData
);
494
495
// AsyncWrite(ba::buffer(ba::const_buffer(&fHeader, sizeof(FTM::Header))));
496
// AsyncWait(deadline_, 3, &tcp_connection::check_deadline);
497
498
}
tcp_connection::AsyncWait
void AsyncWait(ba::deadline_timer &timer, int seconds, void(tcp_connection::*handler)(const bs::error_code &))
Definition:
fad.cc:79
tcp_connection::AsyncRead
void AsyncRead(ba::mutable_buffers_1 buffers)
Definition:
fad.cc:66
tcp_connection::fTriggerDynData
ba::deadline_timer fTriggerDynData
Definition:
ftm.cc:60
buffer
int buffer[BUFFSIZE]
Definition:
db_dim_client.c:14
tcp_connection::SendDynData
void SendDynData(const boost::system::error_code &ec)
Definition:
ftm.cc:423
tcp_connection::fBufCommand
vector< uint16_t > fBufCommand
Definition:
fad.cc:113
Here is the call graph for this function:
tcp_connection
Generated on Sun Sep 18 2016 20:51:03 for FACT++ by
1.8.11