MCPcopy Create free account
hub / github.com/OpenDDS/OpenDDS / valid

Method valid

dds/DCPS/security/AccessControl/Permissions.cpp:302–313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

300}
301
302bool Permissions::Action::valid(time_t now_utc) const
303{
304 if (validity.not_before != 0 && now_utc < validity.not_before) {
305 return false;
306 }
307
308 if (validity.not_after != 0 && now_utc > validity.not_after) {
309 return false;
310 }
311
312 return true;
313}
314
315}
316}

Callers 4

search_permissionsMethod · 0.45
handle_dds_inputMethod · 0.45
handle_inputMethod · 0.45
check_headerMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected