Click or drag to resize
Client Class
A Client is the primary interface to the Avaya Client Services library.
Inheritance Hierarchy
SystemObject
  Avaya.ClientServicesClient

Namespace: Avaya.ClientServices
Assembly: AvayaClientServices (in AvayaClientServices.dll) Version: 493.0.70.0
Syntax
C#
public class Client : IDisposable

The Client type exposes the following members.

Constructors
  NameDescription
Public methodClient(ClientConfiguration)
Constructs a client that delivers events on the main thread.
Public methodClient(ClientConfiguration, Dispatcher)
Constructs a client that delivers events on the thread associated with the specified Dispatcher.
Top
Properties
  NameDescription
Public propertyCertificateManager
The certificate manager instance associated with this client.
Public propertyConfiguredCipherSuites
Returns the list of configured SSL cipher suites excluding the blacklisted suites.
Public propertyDataTransferService
Service providing access to data transfer services for this user.
Public propertyDownloadService
Service providing access to file download services for this user.
Public propertyIsFIPSModeEnabled
The current state of FIPS mode.
Public propertyStatic memberLogLevel
The current log level.
Public propertyMediaServices
Associated MediaServicesInstance instance.
Public propertyStatic memberVersion
The current version of the library.
Top
Methods
  NameDescription
Public methodCreateUser
Creates a new User instance.
Public methodDispose
Disposes the Client object.
Protected methodDispose(Boolean)
Releases the unmanaged resources used by the Client and optionally releases the managed resources
Protected methodFinalize (Overrides ObjectFinalize.)
Public methodRemoveUser
Starts an asynchronous removal of a user.

The user and its associated sessions will be removed, all sockets closed, all services shut down and other internal resources released. When removal is complete, the UserRemoved will be fired. At that point, it is safe to dispose of the user.

Public methodShutdown
Starts an asynchronous shutdown of the client.

All users and associated sessions will be removed, all sockets closed, all services shut down and other internal resources released. When shutdown is complete, the ShutdownCompleted event will be fired. When this occurs it is safe to dispose of the client.

Top
Events
  NameDescription
Public eventFIPSModeSetFailed
Occurs when the FIPS mode set failed.
Public eventFIPSModeSetSucceeded
Occurs when the FIPS mode set succeeded.
Public eventFIPSModeStateChanged
Occurs when the FIPS mode changed unexpectedly while client is running.
Public eventStatic memberLogMessage
Occurs when a message is logged by Avaya Client Services.
Public eventShutdownCompleted
Occurs when the signaling engine has shut down.
Public eventUserCreated
Occurs when the client has added a user.
Public eventUserRemoved
Occurs when the client has removed a user.
Top
Remarks
Each Client operates an event loop on an internal thread, and this loop is used for most of the client's work. In order to simplify handling of events from the client on an application thread (typically the UI thread) the client delivers events via a Dispatcher. By default this is Application.Current.Dispatcher and events are delivered on the main thread, but a different Dispatcher may be specified in the Client's constructor if desired.

Once a Client object has been created, it should not be disposed until it has been properly shutdown via a call to the Shutdown(Boolean) method.

See Also