FACT++
1.0
Main Page
Related Pages
Namespaces
Classes
Files
Examples
void ConnectionInterlock::Request
(
)
inline
Definition at line
239
of file
pwrctrl.cc
.
References
HandleRequest()
.
240
{
241
string
cmd =
"GET "
+
fSite
;
242
243
if
(!
fNextCommand
.empty())
244
cmd +=
"?"
+
fNextCommand
;
245
246
cmd +=
" HTTP/1.1\r\n"
;
247
cmd +=
"\r\n"
;
248
249
PostMessage(cmd);
250
251
fNextCommand
=
""
;
252
253
fKeepAlive
.expires_from_now(boost::posix_time::seconds(
fInterval
));
254
fKeepAlive
.async_wait(boost::bind(&
ConnectionInterlock::HandleRequest
,
255
this
, dummy::error));
256
}
ConnectionInterlock::fSite
string fSite
Definition:
pwrctrl.cc:38
ConnectionInterlock::HandleRequest
void HandleRequest(const bs::error_code &error)
Definition:
pwrctrl.cc:163
ConnectionInterlock::fNextCommand
string fNextCommand
Definition:
pwrctrl.cc:43
ConnectionInterlock::fInterval
uint16_t fInterval
Definition:
pwrctrl.cc:33
ConnectionInterlock::fKeepAlive
boost::asio::deadline_timer fKeepAlive
Definition:
pwrctrl.cc:161
Here is the call graph for this function:
ConnectionInterlock
Generated on Sun Sep 18 2016 20:50:45 for FACT++ by
1.8.11