# IceGrid::AdapterObserver

## Overview

### interface AdapterObserver

This interface allows applications to monitor the state of object adapters that are registered with IceGrid.

## Operation Index

adapterInit
  `adapterInit` is called after registration of an observer to indicate the state of the registry.
adapterAdded
  The `adapterAdded` operation is called to notify an observer when a dynamically-registered adapter was added.
adapterUpdated
  The adapterUpdated operation is called to notify an observer when a dynamically-registered adapter was updated.
adapterRemoved
  The adapterRemoved operation is called to notify an observer when a dynamically-registered adapter was removed.

## Operations

### void adapterInit(AdapterInfoSeq adpts)

`adapterInit` is called after registration of an observer to indicate the state of the registry.

#### Parameters

serial
  The current serial number of the registry database. This serial number allows observers to make sure that their internal state is synchronized with the registry.
adapters
  The adapters that were dynamically registered with the registry (not through the deployment mechanism).

### void adapterAdded(AdapterInfo info)

The `adapterAdded` operation is called to notify an observer when a dynamically-registered adapter was added.

### void adapterUpdated(AdapterInfo info)

The adapterUpdated operation is called to notify an observer when a dynamically-registered adapter was updated.

### void adapterRemoved(string id)

The adapterRemoved operation is called to notify an observer when a dynamically-registered adapter was removed.