Skip to main content
ATL Server Library Reference 
DLL Cache Peer Archetype 

Classes that conform to the DLL cache peer archetype can be used to describe extra data to be associated with each cached DLL held by CDllCache and will be notified when DLLs are added to or removed from the cache.

Implementation

To implement a class conforming to this archetype, the class must provide the following features:

Method Description

Add

This method will be called when a DLL is being added to the cache.

Remove

This method will be called when a DLL is being removed from the cache.

Type Description

DllInfo

The type used for holding extra data related to each DLL in the cache.

Existing Implementations

These classes conform to this archetype:

Class Description

CDllCachePeer

This class is used to cache pointers to ATL Server request handler functions.

CNoDllCachePeer

This class can be used when no extra data needs to be stored with the DLLs in the cache.

Use

These template parameters expect the class to conform to this archetype:

Parameter name Used by

Peer

CDllCache