Ignore:
Timestamp:
11/05/19 16:02:34 (5 years ago)
Author:
ymipsl
Message:

Some Update on XIOS services
Seems to work on Irène for :

  • first level of servers
  • fisrt + second level of servers
  • attached mode

YM

File:
1 edited

Legend:

Unmodified
Added
Removed
  • XIOS/dev/dev_ym/XIOS_SERVICES/src/manager/server_context.hpp

    r1761 r1764  
    1818    CServerContext(CService* parentService, MPI_Comm contextComm, const std::string& poolId, const std::string& serviceId,  
    1919                  const int& partitionId, const std::string& contextId) ; 
     20    ~CServerContext() ; 
    2021 
    2122    bool createIntercomm(const string& poolId, const string& serviceId, const int& partitionId, const string& contextId,  
     
    2627    void checkNotifications(void) ; 
    2728 
    28     bool eventLoop(void) ; 
     29    bool eventLoop(bool serviceOnly=false) ; 
    2930    void notificationsDumpOut(CBufferOut& buffer) ; 
    3031    void notificationsDumpIn(CBufferIn& buffer) ; 
    3132    void finalizeSignal(void) ; 
     33    void freeComm(void) ; 
     34    bool isAttachedMode(void) { return isAttachedMode_ ;} 
    3235    private: 
    3336    void createIntercomm(void) ; 
     
    4750    const size_t maxBufferSize_=1024*1024 ; 
    4851    CWindowManager* winNotify_ ; 
    49     int notifyType_ ; 
    50     tuple<int, std::string> notifyCreateIntercomm_ ; 
     52    int notifyInType_, notifyOutType_ ; 
     53    tuple<int, std::string> notifyInCreateIntercomm_, notifyOutCreateIntercomm_ ; 
    5154 
    5255    const int localLeader_=0 ; 
    5356    int globalLeader_ ; 
    5457    bool finalizeSignal_ ; 
     58    bool hasNotification_ ; 
     59    bool isAttachedMode_ ; 
    5560 
    5661    friend class CWindowManager ; 
Note: See TracChangeset for help on using the changeset viewer.