Ignore:
Timestamp:
09/21/22 15:53:51 (21 months ago)
Author:
ymipsl
Message:

Implement separate "reader" and "writer" service. Default reader live on same ressources that "writer" or "gatherer" services.

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS3/trunk/src/node/context.hpp

    r2406 r2407  
    308308         bool hasServer; 
    309309 
    310       private: 
    311          std::vector<CContextServer*> serverPrimServer; 
    312          std::vector<CContextClient*> clientPrimServer; 
    313  
    314          // list of slave servers (IO server or others) 
    315          set<CContextClient*> slaveServers_ ; 
    316310 
    317311      private: 
     
    333327        std::map<std::string, CContextClient*> clients_ ; 
    334328        std::map<std::string, CContextClient*> servers_ ; 
    335  
    336       private: 
    337          // the map containing context client associated to it string id for coupling out ; 
    338          std::map<std::string, CContextClient*> couplerOutClient_ ; 
    339          // the map containing context server associated to it string id for coupling out ; 
    340          std::map<std::string, CContextServer*> couplerOutServer_ ; 
    341          // the map containing context client associated to it string id for coupling in ; 
    342          std::map<std::string, CContextClient*> couplerInClient_ ; 
    343          // the map containing context server associated to it string id for coupling in ; 
    344          std::map<std::string, CContextServer*> couplerInServer_ ; 
     329        std::map<CContextClient*, std::string> clientsId_ ; 
     330        std::map<CContextServer*, std::string> serversId_ ; 
     331 
     332        // list of slave servers (IO server or others) 
     333        std::vector<CContextClient*> slaveServers_ ; 
     334 
     335        // the map containing context client associated to it string id for coupling out ; 
     336        std::map<std::string, CContextClient*> couplerOutClient_ ; 
     337        // the map containing context server associated to it string id for coupling out ; 
     338        std::map<std::string, CContextServer*> couplerOutServer_ ; 
     339        // the map containing context client associated to it string id for coupling in ; 
     340        std::map<std::string, CContextClient*> couplerInClient_ ; 
     341        // the map containing context server associated to it string id for coupling in ; 
     342        std::map<std::string, CContextServer*> couplerInServer_ ; 
    345343      public: 
    346344         CContextClient* getCouplerInClient(const string& contextId) { return couplerInClient_[contextId] ;} 
     
    348346         CContextClient* getCouplerOutClient(const string& contextId) { return couplerOutClient_[contextId] ;} 
    349347         CContextServer* getCouplerOutServer(const string& contextId) { return couplerOutServer_[contextId] ;} 
    350        
    351    
    352          std::vector<std::string> primServerId_; 
    353348 
    354349         CRegistry* registryIn=nullptr ;    //!< input registry which is read from file 
Note: See TracChangeset for help on using the changeset viewer.