#include <Show.h>
Inherits Continuation.
Inherited by ShowCache, ShowCacheInternal, ShowHostDB, and ShowNet.
Public Member Functions | |
int | show (const char *s,...) |
int | complete (int event, Event *e) |
int | complete_error (int event, Event *e) |
int | begin (const char *name) |
int | showError (int event, Event *e) |
virtual int | done (int, int, void *) |
ShowCont (Continuation *c, HTTPHdr *) | |
~ShowCont () | |
Data Fields | |
Action | action |
char * | sarg |
Definition at line 40 of file Show.h.
ShowCont::ShowCont | ( | Continuation * | c, | |
HTTPHdr * | ||||
) | [inline] |
Definition at line 129 of file Show.h.
References action, ats_malloc(), and Continuation::mutex.
ShowCont::~ShowCont | ( | ) | [inline] |
Definition at line 140 of file Show.h.
References ats_free(), and sarg.
int ShowCont::begin | ( | const char * | name | ) | [inline] |
Definition at line 112 of file Show.h.
References show().
Referenced by ShowCache::delete_regex(), ShowCache::delete_regex_form(), ShowCache::delete_url(), ShowCache::delete_url_form(), ShowCache::invalidate_regex(), ShowCache::invalidate_regex_form(), ShowCache::lookup_regex(), ShowCache::lookup_regex_form(), ShowCache::lookup_url(), ShowCache::lookup_url_form(), ShowNet::showConnections(), ShowCacheInternal::showEvacuations(), ShowNet::showHostnames(), ShowHostDB::showLookupDone(), ShowNet::showMain(), ShowHostDB::showMain(), ShowCacheInternal::showMain(), ShowCache::showMain(), ShowNet::showSingleConnection(), ShowNet::showThreads(), and ShowCacheInternal::showVolumes().
int ShowCont::complete | ( | int | event, | |
Event * | e | |||
) | [inline] |
Definition at line 89 of file Show.h.
References action, ats_free(), Action::cancelled, CHECK_SHOW, VIO::CLOSE, Action::continuation, done(), Continuation::handleEvent(), show(), and STAT_PAGE_SUCCESS.
Referenced by ShowCache::delete_regex_form(), ShowCache::delete_url(), ShowCache::delete_url_form(), ShowCache::handleCacheEvent(), ShowCache::handleCacheScanCallback(), ShowCache::invalidate_regex_form(), ShowCache::lookup_regex_form(), ShowCache::lookup_url_form(), ShowNet::showConnectionsOnThread(), ShowNet::showHostnames(), ShowHostDB::showLookupDone(), ShowNet::showMain(), ShowHostDB::showMain(), ShowCacheInternal::showMain(), ShowCache::showMain(), ShowCacheInternal::showSegSegment(), ShowNet::showSingleConnection(), ShowNet::showSingleThread(), and ShowCacheInternal::showVolEvacuations().
int ShowCont::complete_error | ( | int | event, | |
Event * | e | |||
) | [inline] |
Definition at line 103 of file Show.h.
References VIO::ABORT, action, ats_free(), Action::cancelled, Action::continuation, done(), Continuation::handleEvent(), and STAT_PAGE_FAILURE.
Referenced by showError().
virtual int ShowCont::done | ( | int | , | |
int | , | |||
void * | ||||
) | [inline, virtual] |
Definition at line 123 of file Show.h.
Referenced by complete(), and complete_error().
int ShowCont::show | ( | const char * | s, | |
... | ||||
) | [inline] |
Definition at line 49 of file Show.h.
References ats_realloc(), Debug, and ROUNDUP.
Referenced by begin(), complete(), ShowCache::delete_regex(), ShowCache::delete_regex_form(), ShowCache::delete_url(), ShowCache::delete_url_form(), ShowCache::handleCacheDeleteComplete(), ShowCache::handleCacheEvent(), ShowCache::handleCacheScanCallback(), ShowCache::invalidate_regex(), ShowCache::invalidate_regex_form(), ShowCache::lookup_regex(), ShowCache::lookup_regex_form(), ShowCache::lookup_url_form(), ShowNet::showConnections(), ShowNet::showConnectionsOnThread(), ShowCacheInternal::showEvacuations(), ShowHostDB::showLookupDone(), ShowNet::showMain(), ShowHostDB::showMain(), ShowCacheInternal::showMain(), ShowCache::showMain(), ShowHostDB::showOne(), ShowCacheInternal::showSegments(), ShowCacheInternal::showSegSegment(), ShowNet::showSingleThread(), ShowCacheInternal::showVolEvacuations(), ShowCacheInternal::showVolumes(), and ShowCacheInternal::showVolVolumes().
int ShowCont::showError | ( | int | event, | |
Event * | e | |||
) | [inline] |
Definition at line 118 of file Show.h.
References complete_error().
Definition at line 46 of file Show.h.
Referenced by complete(), complete_error(), register_ShowCache(), register_ShowCacheInternal(), register_ShowHostDB(), register_ShowNet(), and ShowCont().
char* ShowCont::sarg |
Definition at line 47 of file Show.h.
Referenced by register_ShowHostDB(), register_ShowNet(), and ~ShowCont().