Ignore:
Timestamp:
05/26/15 16:13:47 (9 years ago)
Author:
rlacroix
Message:

Add basic infrastructure for servers to clients communication.

File:
1 edited

Legend:

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

    r593 r597  
    8787      public : 
    8888         // Initialize server or client 
    89          void initServer(MPI_Comm intraComm, MPI_Comm interComm); 
    90          void initClient(MPI_Comm intraComm, MPI_Comm interComm, CContext* cxtServer=0); 
     89         void initServer(MPI_Comm intraComm, MPI_Comm interComm, CContext* cxtClient = 0); 
     90         void initClient(MPI_Comm intraComm, MPI_Comm interComm, CContext* cxtServer = 0); 
    9191         bool isInitialized(void); 
    9292 
    9393         // Put sever or client into loop state 
    9494         bool eventLoop(void); 
    95          bool serverLoop(void); 
    96          void clientLoop(void); 
     95 
     96         bool checkBuffersAndListen(void); 
    9797 
    9898         // Finalize a context 
     
    210210      private: 
    211211         bool isPostProcessed; 
     212         bool finalized; 
    212213         std::map<int, StdSize> dataSize_; 
    213214         StdString idServer_; 
Note: See TracChangeset for help on using the changeset viewer.