#include <P_ClusterCacheInternal.h>
Inherits ClusterMessageHeader.
Public Types | |
enum | { MIN_VERSION = 1, MAX_VERSION = 1, CACHE_OP_REPLY_MESSAGE_VERSION = MAX_VERSION } |
Public Member Functions | |
CacheOpReplyMsg (uint16_t vers=CACHE_OP_REPLY_MESSAGE_VERSION) | |
void | init (uint16_t vers=CACHE_OP_REPLY_MESSAGE_VERSION) |
void | SwapBytes () |
Static Public Member Functions | |
static int | protoToVersion (int protoMajor) |
static int | sizeof_fixedlen_msg () |
Data Fields | |
uint32_t | seq_number |
int32_t | result |
ClusterVCToken | token |
bool | is_ram_cache_hit |
Alias32 | moi |
Definition at line 594 of file P_ClusterCacheInternal.h.
anonymous enum |
Definition at line 601 of file P_ClusterCacheInternal.h.
CacheOpReplyMsg::CacheOpReplyMsg | ( | uint16_t | vers = CACHE_OP_REPLY_MESSAGE_VERSION |
) | [inline] |
Definition at line 607 of file P_ClusterCacheInternal.h.
References moi, and Alias32::u32.
void CacheOpReplyMsg::init | ( | uint16_t | vers = CACHE_OP_REPLY_MESSAGE_VERSION |
) | [inline] |
Definition at line 622 of file P_ClusterCacheInternal.h.
References ClusterMessageHeader::_init().
Referenced by CacheContinuation::replyLookupEvent().
static int CacheOpReplyMsg::protoToVersion | ( | int | protoMajor | ) | [inline, static] |
Definition at line 613 of file P_ClusterCacheInternal.h.
Referenced by CacheContinuation::replyLookupEvent(), and CacheContinuation::replyOpEvent().
static int CacheOpReplyMsg::sizeof_fixedlen_msg | ( | ) | [inline, static] |
Definition at line 618 of file P_ClusterCacheInternal.h.
References ALIGN_DOUBLE, and moi.
Referenced by cache_op_result_ClusterFunction(), CacheContinuation::lookupOpenWriteVC(), CacheContinuation::replyLookupEvent(), and CacheContinuation::replyOpEvent().
void CacheOpReplyMsg::SwapBytes | ( | ) | [inline] |
Definition at line 625 of file P_ClusterCacheInternal.h.
References ats_swap32(), ClusterMessageHeader::NeedByteSwap(), result, seq_number, ClusterVCToken::SwapBytes(), and token.
Referenced by cache_op_result_ClusterFunction().
Definition at line 599 of file P_ClusterCacheInternal.h.
Referenced by cache_op_result_ClusterFunction(), and CacheContinuation::replyOpEvent().
Definition at line 600 of file P_ClusterCacheInternal.h.
Referenced by cache_op_result_ClusterFunction(), CacheOpReplyMsg(), CacheContinuation::replyOpEvent(), and sizeof_fixedlen_msg().
int32_t CacheOpReplyMsg::result |
Definition at line 597 of file P_ClusterCacheInternal.h.
Referenced by cache_op_result_ClusterFunction(), CacheContinuation::lookupOpenWriteVC(), CacheContinuation::remoteOpEvent(), CacheContinuation::replyLookupEvent(), CacheContinuation::replyOpEvent(), and SwapBytes().
uint32_t CacheOpReplyMsg::seq_number |
Definition at line 596 of file P_ClusterCacheInternal.h.
Referenced by cache_op_result_ClusterFunction(), CacheContinuation::lookupOpenWriteVC(), CacheContinuation::replyLookupEvent(), CacheContinuation::replyOpEvent(), and SwapBytes().
Definition at line 598 of file P_ClusterCacheInternal.h.
Referenced by cache_op_result_ClusterFunction(), CacheContinuation::lookupOpenWriteVC(), CacheContinuation::remoteOpEvent(), CacheContinuation::replyLookupEvent(), CacheContinuation::replyOpEvent(), and SwapBytes().