#include <LogCollationClientSM.h>
Inherits LogCollationBase, and Continuation.
Public Member Functions | |
LogCollationClientSM (LogHost *log_host) | |
~LogCollationClientSM () | |
int | client_handler (int event, void *data) |
int | send (LogBuffer *log_buffer) |
Definition at line 45 of file LogCollationClientSM.h.
LogCollationClientSM::LogCollationClientSM | ( | LogHost * | log_host | ) |
Definition at line 62 of file LogCollationClientSM.cc.
References client_handler(), Debug, ink_assert, LogCollationBase::LOG_COLL_EVENT_SWITCH, and SET_HANDLER.
LogCollationClientSM::~LogCollationClientSM | ( | ) |
Definition at line 99 of file LogCollationClientSM.cc.
References Debug, ink_mutex_acquire(), ink_mutex_release(), LogCollationBase::LOG_COLL_EVENT_SWITCH, and Continuation::mutex.
int LogCollationClientSM::client_handler | ( | int | event, | |
void * | data | |||
) |
Definition at line 121 of file LogCollationClientSM.cc.
References ink_assert.
Referenced by LogCollationClientSM().
int LogCollationClientSM::send | ( | LogBuffer * | log_buffer | ) |
Definition at line 159 of file LogCollationClientSM.cc.
References LogBufferList::add(), LogBufferHeader::byte_count, LogConfig::collation_max_send_buffers, Log::config, Debug, eventProcessor, LogBufferList::get_size(), LogBuffer::header(), ink_assert, ink_mutex_acquire(), ink_mutex_release(), LogHost::ip_addr(), Continuation::mutex, Note, LogHost::port(), EventProcessor::schedule_imm(), and IpAddr::toString().
Referenced by LogHost::preproc_and_try_delete().