Public Types | Public Member Functions | Static Public Member Functions | Data Fields

CacheOpMsg_short_2 Struct Reference

#include <P_ClusterCacheInternal.h>

Inherits ClusterMessageHeader.

Collaboration diagram for CacheOpMsg_short_2:
Collaboration graph
[legend]

Public Types

enum  { MIN_VERSION = 1, MAX_VERSION = 1, CACHE_OP_SHORT_2_MESSAGE_VERSION = MAX_VERSION }

Public Member Functions

 CacheOpMsg_short_2 (uint16_t vers=CACHE_OP_SHORT_2_MESSAGE_VERSION)
void init (uint16_t vers=CACHE_OP_SHORT_2_MESSAGE_VERSION)
void SwapBytes ()

Static Public Member Functions

static int protoToVersion (int protoMajor)
static int sizeof_fixedlen_msg ()

Data Fields

uint8_t opcode
uint8_t frag_type
uint16_t cfl_flags
INK_MD5 md5_1
INK_MD5 md5_2
uint32_t seq_number
Alias32 moi

Detailed Description

Definition at line 550 of file P_ClusterCacheInternal.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
MIN_VERSION 
MAX_VERSION 
CACHE_OP_SHORT_2_MESSAGE_VERSION 

Definition at line 559 of file P_ClusterCacheInternal.h.


Constructor & Destructor Documentation

CacheOpMsg_short_2::CacheOpMsg_short_2 ( uint16_t  vers = CACHE_OP_SHORT_2_MESSAGE_VERSION  )  [inline]

Definition at line 565 of file P_ClusterCacheInternal.h.

References moi, and Alias32::u32.


Member Function Documentation

void CacheOpMsg_short_2::init ( uint16_t  vers = CACHE_OP_SHORT_2_MESSAGE_VERSION  )  [inline]

Definition at line 579 of file P_ClusterCacheInternal.h.

References ClusterMessageHeader::_init().

Referenced by CacheContinuation::do_op().

static int CacheOpMsg_short_2::protoToVersion ( int  protoMajor  )  [inline, static]

Definition at line 570 of file P_ClusterCacheInternal.h.

Referenced by Cluster_link().

static int CacheOpMsg_short_2::sizeof_fixedlen_msg (  )  [inline, static]

Definition at line 575 of file P_ClusterCacheInternal.h.

References ALIGN_DOUBLE, and moi.

Referenced by op_to_sizeof_fixedlen_msg().

void CacheOpMsg_short_2::SwapBytes (  )  [inline]

Field Documentation

Definition at line 553 of file P_ClusterCacheInternal.h.

Referenced by CacheContinuation::do_op(), and init_from_short_2().

Definition at line 556 of file P_ClusterCacheInternal.h.

Referenced by cache_op_ClusterFunction(), and CacheContinuation::do_op().

Definition at line 552 of file P_ClusterCacheInternal.h.

Referenced by CacheContinuation::do_op().


The documentation for this struct was generated from the following file: