Oracle Coherence for C++ API
Release 3.7.1.0

E22845-01

IdentityHolder Class Reference

#include <coherence/io/pof/IdentityHolder.hpp>

Inherits Object.

List of all members.


Detailed Description

A thread local storage to hold the identity of an object and its corresponding POF stream reader.

Author:
lh 2011.07.19
Since:
Coherence 3.7.1
 

Public Types

typedef spec::Handle Handle
 IdentityHolder Handle definition.
typedef spec::View View
 IdentityHolder View definition.
typedef spec::Holder Holder
 IdentityHolder Holder definition.

Static Public Member Functions

static void set (PofBufferReader::Handle hReader, int32_t nId)
 Store an identity for an object a POF stream reader just read.
static void reset (PofBufferReader::Handle hReader, int32_t nId, Object::Holder oh)
 Register an object.

Member Function Documentation

static void set ( PofBufferReader::Handle  hReader,
    int32_t  nId 
  )    [static]

Store an identity for an object a POF stream reader just read.

Parameters:
 hReader the POF stream reader
 nId the identity of an object

static void reset ( PofBufferReader::Handle  hReader,
    int32_t  nId,
    Object::Holder  oh 
  )    [static]

Register an object.

Parameters:
 hReader the POF stream reader
 nId the identity of an object
 oh the object


The documentation for this class was generated from the following file:
Copyright © 2000, 2011, Oracle and/or its affiliates. All rights reserved.