[BACK] Return to admin_executor_service.cpp CVS log [TXT][DIR] Up to Nevrax / code / nelns / admin_executor_service

Diff for /code/nelns/admin_executor_service/admin_executor_service.cpp between version 1.9 and 1.10

version 1.9, 2001/06/18 14:54:06 version 1.10, 2001/06/27 08:35:13
Line 41 
Line 41 
 #include "nel/misc/debug.h" #include "nel/misc/debug.h"
 #include "nel/misc/config_file.h" #include "nel/misc/config_file.h"
 #include "nel/misc/thread.h" #include "nel/misc/thread.h"
  #include "nel/misc/command.h"
  
 #include "nel/net/service.h" #include "nel/net/service.h"
 #include "nel/net/net_manager.h" #include "nel/net/net_manager.h"
Line 67 
Line 68 
         string                        ShortName;                /// name of the service in short format ("NS" for example)         string                        ShortName;                /// name of the service in short format ("NS" for example)
         string                        LongName;                /// name of the service in long format ("naming_service")         string                        LongName;                /// name of the service in long format ("naming_service")
         bool                        Ready;                        /// true if the service is ready         bool                        Ready;                        /// true if the service is ready
         vector<string>        Commands;         vector<CSerialCommand>        Commands;
  
 private: private:
         static        uint32 NextId;         static        uint32 NextId;
Line 282 
Line 283 
  
 static void cbLog (CMessage& msgin, TSockId from, CCallbackNetBase &netbase) static void cbLog (CMessage& msgin, TSockId from, CCallbackNetBase &netbase)
 { {
          CService *s = (CService*) (uint) from->appId();
         // received an answer for a command, give it to the AS         // received an answer for a command, give it to the AS
  
         // broadcast the message to the admin service         // broadcast the message to the admin service
         CMessage msgout (CNetManager::getSIDA ("AESAS"), "LOG");         CMessage msgout (CNetManager::getSIDA ("AESAS"), "XLOG");
         string log;         string log;
         msgin.serial (log);         msgin.serial (log);
          msgout.serial (s->Id);
         msgout.serial (log);         msgout.serial (log);
         CNetManager::send ("AESAS", msgout);         CNetManager::send ("AESAS", msgout);
 } }


Legend:
Removed from v.1.9 
changed lines
 Added in v.1.10