Endpoint Events

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

An endpoint object raises the OnEnable or OnDisable event when the underlying Office Communications Server computer finishes processing the Enable or Disable request. To catch these events, a client must implement the following event handlers:

  • OnDisable
  • OnEnable

The client must register the event handlers with the corresponding endpoint object when the object is first created. An application can use the function listed in Event Model of Unified Communications Client API to register the event handlers as follows, where this stands for the calling object in which the _endpoint object is created.

UCC_Advise<_IUccEndpointEvents>(_endpoint, this);

Therefore, the calling object must inherit the _IUccEndpointEvents interface and implement its methods.

An application should also implement the following event interfaces if it is interested in handling invitations to join a session, managing category publication, or getting notified of the discovery of a SIP server:

See Also

Concepts

Advise for and Handle Events in a Unified Communications Client API Client
Endpoint Creation
Endpoint as Server Logon Profile
Endpoint Registration with Office Communications Server
Endpoint as Publication Manager
Endpoint as Subscription Manager
Endpoint as Session Manager
Endpoint as Media Connectivity Manager
Programming Pattern with Endpoint Objects