FACT++  1.0
ChatServer::ChatServer ( ostream &  lout)
inline

Definition at line 67 of file chatserv.cc.

References HandleMsg().

67  : StateMachineDim(lout, "CHAT")
68  {
69  AddEvent("MSG", "C")
70  (bind(&ChatServer::HandleMsg, this, placeholders::_1))
71  ("|msg[string]:message to be distributed");
72  }
EventImp & AddEvent(const std::string &name, const std::string &states, const std::string &fmt)
StateMachineDim(std::ostream &out=std::cout, const std::string &name="DEFAULT")
int HandleMsg(const EventImp &evt)
Definition: chatserv.cc:61

+ Here is the call graph for this function: