#include <LogHost.h>
Inherits LogBufferSink.

Public Member Functions | |
| LogHostList () | |
| ~LogHostList () | |
| void | add (LogHost *host, bool copy=true) |
| unsigned | count () |
| void | clear () |
| int | preproc_and_try_delete (LogBuffer *lb) |
| LogHost * | first () |
| LogHost * | next (LogHost *here) |
| void | display (FILE *fd=stdout) |
| bool | operator== (LogHostList &rhs) |
| int | do_filesystem_checks () |
Definition at line 107 of file LogHost.h.
| LogHostList::LogHostList | ( | ) |
Definition at line 367 of file LogHost.cc.
| LogHostList::~LogHostList | ( | ) |
Definition at line 371 of file LogHost.cc.
References clear().
| void LogHostList::add | ( | LogHost * | host, | |
| bool | copy = true | |||
| ) |
Definition at line 377 of file LogHost.cc.
References Queue< C, L >::enqueue(), and ink_assert.
Referenced by LogObject::add_loghost().
| void LogHostList::clear | ( | void | ) |
Definition at line 398 of file LogHost.cc.
References Queue< C, L >::dequeue().
Referenced by ~LogHostList(), and LogObject::~LogObject().
| unsigned LogHostList::count | ( | ) |
Definition at line 388 of file LogHost.cc.
References first(), and next().
Referenced by preproc_and_try_delete(), and LogObject::~LogObject().
| void LogHostList::display | ( | FILE * | fd = stdout |
) |
Definition at line 442 of file LogHost.cc.
References first(), and next().
Referenced by LogObject::display().
| int LogHostList::do_filesystem_checks | ( | ) |
Definition at line 471 of file LogHost.cc.
References first(), and next().
Referenced by LogObject::do_filesystem_checks().
| LogHost* LogHostList::first | ( | ) | [inline] |
Definition at line 118 of file LogHost.h.
References DLL< C, L >::head.
Referenced by count(), display(), LogObject::displayAsXML(), do_filesystem_checks(), LogObject::get_file_size_bytes(), LogObject::LogObject(), operator==(), and preproc_and_try_delete().
Definition at line 119 of file LogHost.h.
Referenced by count(), display(), LogObject::displayAsXML(), do_filesystem_checks(), LogObject::get_file_size_bytes(), LogObject::LogObject(), operator==(), and preproc_and_try_delete().
| bool LogHostList::operator== | ( | LogHostList & | rhs | ) |
Definition at line 449 of file LogHost.cc.
References first(), LogHost::ip_addr(), LogHost::ipstr(), IpAddr::isValid(), LogHost::name(), next(), and LogHost::port().
| int LogHostList::preproc_and_try_delete | ( | LogBuffer * | lb | ) | [virtual] |
Implements LogBufferSink.
Definition at line 407 of file LogHost.cc.
References count(), LogBuffer::destroy(), first(), ink_release_assert, LogBuffer::m_references, next(), LogHost::orphan_write_and_try_delete(), and LogHost::preproc_and_try_delete().
1.7.1