| 268 | } |
| 269 | |
| 270 | Value HostsTable::EventHandlerAccessor(const Value& row) |
| 271 | { |
| 272 | Host::Ptr host = static_cast<Host::Ptr>(row); |
| 273 | |
| 274 | if (!host) |
| 275 | return Empty; |
| 276 | |
| 277 | EventCommand::Ptr eventcommand = host->GetEventCommand(); |
| 278 | if (eventcommand) |
| 279 | return CompatUtility::GetCommandName(eventcommand); |
| 280 | |
| 281 | return Empty; |
| 282 | } |
| 283 | |
| 284 | Value HostsTable::CheckPeriodAccessor(const Value& row) |
| 285 | { |
nothing calls this directly
no test coverage detected