GenericConnection Class Callback Event Methods

The following are ChatConnection class callback event methods:

Syntax

onCapabilitiesChanged(event)

Description

Fires when there is a change in GenericData.

Syntax

onCompleted(event)

Description

Fires when GenericConnection state is changed to COMPLETED.

Syntax

onDropped(event)

Description

Fires when GenericConnection state is changed to DROPPED.

Syntax

onError(event)

Description

Fires when a there is a generic connection error.

Syntax

onForwarded(event)

Description

Fires when generic task is forwarded.

Syntax

onForwardError(event)

Description

Fires when there is error in forwarding the generic task.

Syntax

onForwarding(event)

Description

Fires when forwarding the generic task.

Syntax

onGenericdataChanged(event)

Description

Fires when there is a change in GenericData.

Syntax

onIncoming(event)

Description

Fires when GenericConnection state is changed to INCOMING.

Syntax

onProcessing(event)

Description

Fires when GenericConnection state is changed to PROCESSING.

Syntax

onRejected(event)

Description

Fires when generic task is rejected by agent and the routing system acknowledges the same.

Syntax

onRevoked(event)

Description

Fires when generic task is revoked by routing system before agent accepts that.

Syntax

onUserdataChanged(event)

Description

Fires when there is a change in user data.

Syntax

onWithdraw_REQ(event)

Description

Fires when there is a request for generic task withdraw from routing server. This is a request from routing server to the agent.