#include <P_ClusterHandler.h>
Inherits ClusterControl.
Public Member Functions | |
OutgoingControl () | |
void | alloc_data (bool align_int32_on_non_int64_boundary=true) |
void | set_data (char *adata, int alen) |
void | set_data (IOBufferBlock *buf, void(*free_data_proc)(void *), void *free_data_arg) |
int | startEvent (int event, Event *e) |
virtual void | freeall () |
Static Public Member Functions | |
static OutgoingControl * | alloc () |
Data Fields | |
ClusterHandler * | ch |
ink_hrtime | submit_time |
Definition at line 84 of file P_ClusterHandler.h.
OutgoingControl::OutgoingControl | ( | ) |
Definition at line 183 of file ClusterHandlerBase.cc.
OutgoingControl * OutgoingControl::alloc | ( | ) | [static] |
Definition at line 178 of file ClusterHandlerBase.cc.
References outControlAllocator.
Referenced by ClusterProcessor::internal_invoke_remote(), ClusterProcessor::invoke_remote_data(), and TSAllocClusterRPCMsg().
void OutgoingControl::alloc_data | ( | bool | align_int32_on_non_int64_boundary = true |
) | [inline] |
Definition at line 92 of file P_ClusterHandler.h.
References ClusterControl::real_alloc_data().
Referenced by ClusterProcessor::internal_invoke_remote(), ClusterProcessor::invoke_remote_data(), and TSAllocClusterRPCMsg().
void OutgoingControl::freeall | ( | ) | [virtual] |
Implements ClusterControl.
Definition at line 209 of file ClusterHandlerBase.cc.
References ClusterControl::free_data(), and outControlAllocator.
Referenced by ClusterHandler::build_controlmsg_descriptors(), ClusterProcessor::internal_invoke_remote(), and ClusterHandler::update_channels_written().
void OutgoingControl::set_data | ( | IOBufferBlock * | buf, | |
void(*)(void *) | free_data_proc, | |||
void * | free_data_arg | |||
) | [inline] |
Definition at line 111 of file P_ClusterHandler.h.
References bytes_IOBufferBlockList(), IOBufferBlock::data, ClusterControl::data, ClusterControl::free_proc, ClusterControl::free_proc_arg, ClusterControl::iob_block, ClusterControl::len, and ClusterControl::real_data.
void OutgoingControl::set_data | ( | char * | adata, | |
int | alen | |||
) | [inline] |
Definition at line 96 of file P_ClusterHandler.h.
References BUFFER_SIZE_FOR_XMALLOC, ClusterControl::data, ClusterControl::free_proc, ClusterControl::free_proc_arg, ClusterControl::iob_block, ClusterControl::len, new_IOBufferBlock, and ClusterControl::real_data.
Referenced by ClusterProcessor::internal_invoke_remote(), and ClusterProcessor::invoke_remote_data().
int OutgoingControl::startEvent | ( | int | event, | |
Event * | e | |||
) |
Definition at line 189 of file ClusterHandlerBase.cc.
References ch, ClusterFuncToQpri(), ClusterControl::data, ink_atomiclist_push(), ClusterHandler::outgoing_control_al, and ClusterHandler::thread.
Referenced by ClusterProcessor::internal_invoke_remote().
Definition at line 86 of file P_ClusterHandler.h.
Referenced by startEvent().
Definition at line 87 of file P_ClusterHandler.h.
Referenced by ClusterProcessor::internal_invoke_remote(), ClusterProcessor::invoke_remote_data(), and ClusterHandler::update_channels_written().