Changeset 1761 for XIOS/dev/dev_ym/XIOS_SERVICES/src/node/file.cpp
- Timestamp:
- 10/18/19 15:40:35 (5 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
XIOS/dev/dev_ym/XIOS_SERVICES/src/node/file.cpp
r1639 r1761 323 323 // Done by classical server or secondary server 324 324 // This condition should be changed soon 325 if (CServer::serverLevel == 0 || CServer::serverLevel == 2) 326 { 325 //ym if (CServer::serverLevel == 0 || CServer::serverLevel == 2) 326 if (context->getServiceType()==CServicesManager::IO_SERVER || context->getServiceType()==CServicesManager::OUT_SERVER) 327 { 327 328 if (mode.isEmpty() || mode.getValue() == mode_attr::write) 328 329 { … … 349 350 // Done by classical server or secondary server 350 351 // TODO: This condition should be changed soon. It only works with maximum number of level as 2 351 if (CServer::serverLevel == 0 || CServer::serverLevel == 1) 352 353 //ym if (CServer::serverLevel == 0 || CServer::serverLevel == 1) 354 if (context->getServiceType()==CServicesManager::IO_SERVER || context->getServiceType()==CServicesManager::GATHERER) 352 355 { 353 356 if (!mode.isEmpty() && mode.getValue() == mode_attr::read)
Note: See TracChangeset
for help on using the changeset viewer.