Session Class Callback Event Methods

The following are the Session class callback event methods.

Syntax

onAddressRegistered(event)

Description

Fires when the address is registered by the session.

Syntax

onAddressUnregistered(event)

Description

Fires when the address is unregistered by the session.

Syntax

onBuddyRegistered(event)

Description

Fires when the buddy is registered by the session.

Syntax

onBuddyUnregistered(event)

Description

Fires when the buddy is unregistered by the session.

Syntax

onClosed(event)

Description

Fires when the session is closed.

Syntax

onError(event)

Description

Fires when there is a session error.

Syntax

onGroupRegistered(event)

Description

Fires when a group is registered by the session.

Syntax

onGroupUnregistered(event)

Description

Fires when a group is unregistered by the session.

Syntax

onInfo(event)

Description

Fires when there is a session information event, such as the user is already logged in.

Syntax

onOpened(event)

Description

Fires when the session is opened.

Syntax

onUserRegistered(event)

Description

Fires when the user is registered by the session.

Syntax

onUserUnregistered(event)

Description

Fires when the user gets unregistered by the session.