FACT++  1.0
ConnectionInterlock Class Reference
+ Inheritance diagram for ConnectionInterlock:
+ Collaboration diagram for ConnectionInterlock:

Public Member Functions

 ConnectionInterlock (ba::io_service &ioservice, MessageImp &imp)
 
void SetVerbose (bool b)
 
void SetDebugRx (bool b)
 
void SetInterval (uint16_t i)
 
void SetSite (const string &site)
 
void Post (const string &post)
 
void Request ()
 
int GetInterval () const
 
int GetState () const
 

Static Public Attributes

static const uint16_t kMaxAddr = 0xfff
 

Protected Attributes

bool fIsValid
 

Private Member Functions

virtual void Update (const Power::Status &)
 
void ProcessAnswer ()
 
void HandleRead (const boost::system::error_code &err, size_t bytes_received)
 
void StartReadReport ()
 
void HandleRequest (const bs::error_code &error)
 
void ConnectionEstablished ()
 

Private Attributes

uint16_t fInterval
 
bool fIsVerbose
 
bool fDebugRx
 
string fSite
 
string fRdfData
 
boost::array< char, 4096 > fArray
 
string fNextCommand
 
Time fLastReport
 
Power::Status fStatus
 
boost::asio::streambuf fBuffer
 
boost::asio::deadline_timer fKeepAlive
 

Detailed Description

Definition at line 27 of file pwrctrl.cc.


The documentation for this class was generated from the following file: