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

CacheOpMsg_short Struct Reference

#include <P_ClusterCacheInternal.h>

Inherits ClusterMessageHeader.

Collaboration diagram for CacheOpMsg_short:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

 CacheOpMsg_short (uint16_t vers=CACHE_OP_SHORT_MESSAGE_VERSION)
void init (uint16_t vers=CACHE_OP_SHORT_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
uint32_t seq_number
uint32_t nbytes
uint32_t data
int32_t channel
ClusterVCToken token
int32_t buffer_size
Alias32 moi

Detailed Description

Definition at line 492 of file P_ClusterCacheInternal.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
MIN_VERSION 
MAX_VERSION 
CACHE_OP_SHORT_MESSAGE_VERSION 

Definition at line 507 of file P_ClusterCacheInternal.h.


Constructor & Destructor Documentation

CacheOpMsg_short::CacheOpMsg_short ( uint16_t  vers = CACHE_OP_SHORT_MESSAGE_VERSION  )  [inline]

Definition at line 513 of file P_ClusterCacheInternal.h.

References moi, and Alias32::u32.


Member Function Documentation

void CacheOpMsg_short::init ( uint16_t  vers = CACHE_OP_SHORT_MESSAGE_VERSION  )  [inline]

Definition at line 529 of file P_ClusterCacheInternal.h.

References ClusterMessageHeader::_init().

Referenced by CacheContinuation::do_op().

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

Definition at line 520 of file P_ClusterCacheInternal.h.

Referenced by Cluster_deref(), and Cluster_remove().

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

Definition at line 525 of file P_ClusterCacheInternal.h.

References ALIGN_DOUBLE, and moi.

Referenced by op_to_sizeof_fixedlen_msg().

void CacheOpMsg_short::SwapBytes (  )  [inline]

Field Documentation

Definition at line 496 of file P_ClusterCacheInternal.h.

Referenced by CacheContinuation::do_op(), init_from_short(), and SwapBytes().

Definition at line 500 of file P_ClusterCacheInternal.h.

Referenced by CacheContinuation::do_op(), init_from_short(), and SwapBytes().

Definition at line 495 of file P_ClusterCacheInternal.h.

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

Definition at line 499 of file P_ClusterCacheInternal.h.

Referenced by CacheContinuation::do_op(), init_from_short(), and SwapBytes().

Definition at line 494 of file P_ClusterCacheInternal.h.

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


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