FACT++  1.0
template<class T>
bool ChatClient< T >::Process ( const std::string &  str)
inline

Definition at line 66 of file ChatClient.h.

67  {
69  return true;
70 
71  if (T::Process(str))
72  return true;
73 
74  const int rc = DimClient::sendCommand("CHAT/MSG", str.c_str());
75  if (!rc)
76  lout << kRed << "ERROR - Sending message failed." << endl;
77 
78  return false;
79  }
static int sendCommand(const char *name, int data)
Definition: diccpp.cxx:1098
char str[80]
Definition: test_client.c:7
Set color Red.
Definition: WindowLog.h:17
bool Process(std::ostream &out, const std::string &str)
std::ostream & lout
Definition: ChatClient.h:20