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

CacheLookupMsg Struct Reference

#include <P_ClusterCacheInternal.h>

Inherits ClusterMessageHeader.

Collaboration diagram for CacheLookupMsg:
Collaboration graph
[legend]

Public Types

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

Public Member Functions

 CacheLookupMsg (uint16_t vers=CACHE_LOOKUP_MESSAGE_VERSION)
void init (uint16_t vers=CACHE_LOOKUP_MESSAGE_VERSION)
void SwapBytes ()

Static Public Member Functions

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

Data Fields

INK_MD5 url_md5
uint32_t seq_number
uint32_t frag_type
Alias32 moi

Detailed Description

Definition at line 396 of file P_ClusterCacheInternal.h.


Member Enumeration Documentation

anonymous enum
Enumerator:
MIN_VERSION 
MAX_VERSION 
CACHE_LOOKUP_MESSAGE_VERSION 

Definition at line 402 of file P_ClusterCacheInternal.h.


Constructor & Destructor Documentation

CacheLookupMsg::CacheLookupMsg ( uint16_t  vers = CACHE_LOOKUP_MESSAGE_VERSION  )  [inline]

Definition at line 408 of file P_ClusterCacheInternal.h.

References moi, and Alias32::u32.


Member Function Documentation

void CacheLookupMsg::init ( uint16_t  vers = CACHE_LOOKUP_MESSAGE_VERSION  )  [inline]
static int CacheLookupMsg::protoToVersion ( int  protoMajor  )  [inline, static]

Definition at line 414 of file P_ClusterCacheInternal.h.

Referenced by CacheContinuation::do_remote_lookup().

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

Definition at line 419 of file P_ClusterCacheInternal.h.

References ALIGN_DOUBLE, and moi.

Referenced by op_to_sizeof_fixedlen_msg().

void CacheLookupMsg::SwapBytes (  )  [inline]

Field Documentation


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