Ignore:
Timestamp:
09/20/22 16:37:37 (21 months ago)
Author:
ymipsl
Message:

Refactor management of client context and server context.
YM

File:
1 edited

Legend:

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

    r2405 r2406  
    160160         // Distribute files (in write mode) among secondary-server pools according to the estimated data flux 
    161161         void distributeFiles(const std::vector<CFile*>& files); 
    162          void distributeFileOverBandwith(const std::vector<CFile*>& files) ; 
    163          void distributeFileOverMemoryBandwith(const std::vector<CFile*>& files) ; 
     162         void distributeFileOverOne(const vector<CFile*>& files) ; //!< Distribute files over one single server (no distribution) 
     163         void distributeFileOverBandwith(const std::vector<CFile*>& files) ; //!< Distribute files overs servers to balance the I/O bandwith 
     164         void distributeFileOverMemoryBandwith(const std::vector<CFile*>& files) ; //!< Distribute files overs servers to minimize the memory consumption 
    164165          
     166       public: 
    165167         // Send context close definition 
    166          void sendCloseDefinition(void); 
    167        public: 
    168168         void sendCloseDefinition(CContextClient* client) ; 
    169169       private: 
     
    223223       public:   
    224224        void freeComms(void);                  //!< Free internally allcoated communicators 
    225         void releaseClientBuffers(void);       //! Deallocate buffers allocated by clientContexts 
    226225 
    227226         // dispatch event 
     
    309308         bool hasServer; 
    310309 
    311          CContextServer* server;    //!< Concrete context server 
    312          CContextClient* client;    //!< Concrete contex client 
     310      private: 
    313311         std::vector<CContextServer*> serverPrimServer; 
    314312         std::vector<CContextClient*> clientPrimServer; 
     
    321319        std::string defaultWriterId ; 
    322320        std::string defaultGathererId ; 
     321 
     322        std::vector<CContextClient*> writerClientOut_ ; 
     323        std::vector<CContextServer*> writerServerOut_ ; 
     324        std::vector<CContextClient*> writerClientIn_ ; 
     325        std::vector<CContextServer*> writerServerIn_ ; 
     326 
     327        std::vector<CContextClient*> readerClientOut_ ; 
     328        std::vector<CContextServer*> readerServerOut_ ; 
     329        std::vector<CContextClient*> readerClientIn_ ; 
     330        std::vector<CContextServer*> readerServerIn_ ; 
     331 
    323332 
    324333        std::map<std::string, CContextClient*> clients_ ; 
Note: See TracChangeset for help on using the changeset viewer.