pureweb.client. ConnectedChangedEvent

The event that gets dispatched when the connected state changes.

Method Summary

getExceptionDetail
Returns an ExceptionDetail object, which contains the particulars of the exception, if an error occurred.
getSessionState
Returns the connected state of the session.

Constructor

new ConnectedChangedEvent(newState, opt_exceptionDetail)

Initializes a new instance of ConnectedChangedEvent.
Parameters:
Name Type Argument Description
newState pureweb.client.SessionState The state of the connection.
opt_exceptionDetail pureweb.client.ExceptionDetail <optional>
The details of the exception, if an error occurred.

Extends

  • pureweb.events.Event

Method Detail

getExceptionDetail() → {pureweb.client.ExceptionDetail}

Returns an ExceptionDetail object, which contains the particulars of the exception, if an error occurred.

getSessionState() → {pureweb.client.SessionState}

Returns the connected state of the session.