Connection State Change Events

The connection state change event is caused on a primary when a secondary connects or disconnects. It is caused on a secondary when the connection to its primary is established or lost. The eventType is defined by the SDSEventTypes category SDS_ConnectionStateChange global constant.

On a primary, the userInfo parameter contains the name of the secondary whose connection state changed. The application can then use that name to obtain a secondary proxy and therefore the current connection state.

On a secondary, the userInfo parameter contains the value of 'connection state' enumerated by the following SDSConnectionState category global constants.