3.7.1.1 State Machine

The following figure shows the state machine of the IIpamEnumeratorCallback server port type.

IIpamEnumeratorCallback state machine

Figure 5: IIpamEnumeratorCallback state machine

The IIpamEnumeratorCallback server is session-based, sharing the same session the management client has with the management server using the IIpamEnumerator port type. It is also stateful in nature. The session state variable is used to keep track of the current state for each session and it can have the following states as possible values. At any point of the session, if the session is known to be faulted or closed by the lower layer, the state machine ends.

State

Description

Enumeration Callback Initialized

This is the initial state of the IIpamEnumeratorCallback when it has been initialized by the IIpamEnumerator client.

When the NotifyEnumerationStart is received in this state from the IIpamEnumerator server port on the management server-end of the session, the transition to the Enumeration In Progress state will happen.

Enumeration In Progress

This state indicates the IIpamEnumeratorCallback is ready to receive the data.

When the EnumeratedRowsCallback is received in this state from the IIpamEnumerator server port on the management server-end of the session, the state will continue to be in Enumeration In Progress.

When the NotifyEnumerationComplete is received in this state from the IIpamEnumerator server port on the management server-end of the session, the state will transition to Enumeration Completed.

Enumeration Completed

This is the state to notify the enumeration interaction between the IIpamEnumerator server port on the management server-end and the IIpamEnumeratorCallback server port on the management client-end is complete and the full data or result is available.