Suuports clang compiler
[anna.git] / example / comm / rrClient / main.cpp
index 29e13dd..b58c6e0 100644 (file)
@@ -1,8 +1,8 @@
-// ANNA - Anna is Not 'N' Anymore
+// ANNA - Anna is Not Nothingness Anymore
 //
 // (c) Copyright 2005-2014 Eduardo Ramos Testillano & Francisco Ruiz Rayo
 //
-// https://bitbucket.org/testillano/anna
+// http://redmine.teslayout.com/projects/anna-suite
 //
 // Redistribution and use in source and binary forms, with or without
 // modification, are permitted provided that the following conditions
@@ -14,7 +14,7 @@
 // copyright notice, this list of conditions and the following disclaimer
 // in the documentation and/or other materials provided with the
 // distribution.
-//     * Neither the name of Google Inc. nor the names of its
+//     *  Neither the name of the copyright holder nor the names of its
 // contributors may be used to endorse or promote products derived from
 // this software without specific prior written permission.
 //
@@ -57,7 +57,7 @@
 #include <anna/test/Response.hpp>
 #include <anna/test/Request.hpp>
 
-class Sender : public timex::Clock {
+class Sender : public anna::timex::Clock {
 public:
    Sender () : Clock ("Sender", (Millisecond)1000), 
       a_messageBySecond (0), 
@@ -112,7 +112,7 @@ public:
 
 private:
    MyCommunicator a_communicator;
-   timex::Engine a_timeController;
+   anna::timex::Engine a_timeController;
    Sender a_sender;
    Service* a_service;
 
@@ -292,7 +292,7 @@ bool Sender::tick ()
    Communicator* communicator = anna::app::functions::component <Communicator> (ANNA_FILE_LOCATION);
 
    if (a_messageBySecond == 0) 
-      throw RuntimeException ("Hay que indicar el nยบ de mensajes por segundo", ANNA_FILE_LOCATION);
+      throw RuntimeException ("Hay que indicar el numero de mensajes por segundo", ANNA_FILE_LOCATION);
 
 
    if (a_errorCounter > 100) {