#include <P_CompletionUtil.h>
Static Public Member Functions | |
static Event * | create () |
static void | destroy (Event *e) |
static void | setThread (Event *e, EThread *t) |
static void | setContinuation (Event *e, Continuation *c) |
static void * | getHandle (Event *e) |
static void | setHandle (Event *e, void *handle) |
static void | setInfo (Event *e, int fd, IOBufferBlock *buf, int actual, int errno_) |
static void | setInfo (Event *e, int fd, struct msghdr *msg, int actual, int errno_) |
static int | getBytesTransferred (Event *e) |
static IOBufferBlock * | getIOBufferBlock (Event *e) |
static Continuation * | getContinuation (Event *e) |
static int | getError (Event *e) |
static void | releaseReferences (Event *e) |
static Event * | create () |
static void | destroy (Event *e) |
static void | setThread (Event *e, EThread *t) |
static void | setContinuation (Event *e, Continuation *c) |
static void * | getHandle (Event *e) |
static void | setHandle (Event *e, void *handle) |
static void | setInfo (Event *e, int fd, IOBufferBlock *buf, int actual, int errno_) |
static void | setInfo (Event *e, int fd, struct msghdr *msg, int actual, int errno_) |
static int | getBytesTransferred (Event *e) |
static IOBufferBlock * | getIOBufferBlock (Event *e) |
static Continuation * | getContinuation (Event *e) |
static int | getError (Event *e) |
static void | releaseReferences (Event *e) |
Definition at line 27 of file P_CompletionUtil.h.
Event * completionUtil::create | ( | ) | [inline, static] |
Definition at line 32 of file P_UnixCompletionUtil.h.
References UDPIOEventAllocator.
Referenced by UDPNetProcessor::recvfrom_re(), and UDPNetProcessor::sendmsg_re().
static Event* completionUtil::create | ( | ) | [static] |
void completionUtil::destroy | ( | Event * | e | ) | [inline, static] |
Definition at line 38 of file P_UnixCompletionUtil.h.
References UDPIOEvent::free(), and ink_assert.
Referenced by UDPReadContinuation::free(), UDPNetProcessor::recvfrom_re(), UDPNetProcessor::sendmsg_re(), and UDPReadContinuation::~UDPReadContinuation().
static void completionUtil::destroy | ( | Event * | e | ) | [static] |
int completionUtil::getBytesTransferred | ( | Event * | e | ) | [inline, static] |
Definition at line 81 of file P_UnixCompletionUtil.h.
References UDPIOEvent::getBytesTransferred().
Referenced by ICPPeerReadCont::PeerReadStateMachine().
static int completionUtil::getBytesTransferred | ( | Event * | e | ) | [static] |
Continuation * completionUtil::getContinuation | ( | Event * | e | ) | [inline, static] |
Definition at line 93 of file P_UnixCompletionUtil.h.
References UDPIOEvent::getContinuation().
Referenced by UDPReadContinuation::readPollEvent().
static Continuation* completionUtil::getContinuation | ( | Event * | e | ) | [static] |
static int completionUtil::getError | ( | Event * | e | ) | [static] |
int completionUtil::getError | ( | Event * | e | ) | [inline, static] |
Definition at line 99 of file P_UnixCompletionUtil.h.
References UDPIOEvent::getError().
static void* completionUtil::getHandle | ( | Event * | e | ) | [static] |
void * completionUtil::getHandle | ( | Event * | e | ) | [inline, static] |
Definition at line 57 of file P_UnixCompletionUtil.h.
References UDPIOEvent::getHandle().
Referenced by ICPPeerReadCont::ICPPeerReadEvent().
IOBufferBlock * completionUtil::getIOBufferBlock | ( | Event * | e | ) | [inline, static] |
Definition at line 87 of file P_UnixCompletionUtil.h.
References UDPIOEvent::getIOBufferBlock().
static IOBufferBlock* completionUtil::getIOBufferBlock | ( | Event * | e | ) | [static] |
static void completionUtil::releaseReferences | ( | Event * | e | ) | [static] |
static void completionUtil::releaseReferences | ( | Event * | e | ) | [static] |
static void completionUtil::setContinuation | ( | Event * | e, | |
Continuation * | c | |||
) | [static] |
void completionUtil::setContinuation | ( | Event * | e, | |
Continuation * | c | |||
) | [inline, static] |
Definition at line 51 of file P_UnixCompletionUtil.h.
Referenced by UDPNetProcessor::recvfrom_re(), and UDPNetProcessor::sendmsg_re().
void completionUtil::setHandle | ( | Event * | e, | |
void * | handle | |||
) | [inline, static] |
Definition at line 63 of file P_UnixCompletionUtil.h.
References UDPIOEvent::setHandle().
Referenced by UDPNetProcessor::recvfrom_re(), and UDPNetProcessor::sendmsg_re().
static void completionUtil::setHandle | ( | Event * | e, | |
void * | handle | |||
) | [static] |
static void completionUtil::setInfo | ( | Event * | e, | |
int | fd, | |||
IOBufferBlock * | buf, | |||
int | actual, | |||
int | errno_ | |||
) | [static] |
void completionUtil::setInfo | ( | Event * | e, | |
int | fd, | |||
IOBufferBlock * | buf, | |||
int | actual, | |||
int | errno_ | |||
) | [inline, static] |
Definition at line 69 of file P_UnixCompletionUtil.h.
References UDPIOEvent::setInfo().
Referenced by UDPReadContinuation::readPollEvent(), UDPNetProcessor::recvfrom_re(), and UDPNetProcessor::sendmsg_re().
void completionUtil::setInfo | ( | Event * | e, | |
int | fd, | |||
struct msghdr * | msg, | |||
int | actual, | |||
int | errno_ | |||
) | [inline, static] |
Definition at line 75 of file P_UnixCompletionUtil.h.
References UDPIOEvent::setInfo().
static void completionUtil::setInfo | ( | Event * | e, | |
int | fd, | |||
struct msghdr * | msg, | |||
int | actual, | |||
int | errno_ | |||
) | [static] |
Definition at line 45 of file P_UnixCompletionUtil.h.
References Event::ethread.
Referenced by UDPReadContinuation::readPollEvent(), UDPNetProcessor::recvfrom_re(), and UDPNetProcessor::sendmsg_re().