Search Results for

    / fm / liveswitch / WebSocketOpenFailureArgs

    Class: WebSocketOpenFailureArgs

    fm.liveswitch.WebSocketOpenFailureArgs

    Arguments for [[fm.liveswitch.webSocketOpenArgs.onFailure]].

    Hierarchy

    • Dynamic

      ↳ WebSocketOpenFailureArgs

    Table of contents

    Constructors

    • constructor

    Methods

    • getDynamicProperties
    • getDynamicValue
    • getException
    • getOpenArgs
    • getStatusCode
    • getTypeString
    • setDynamicValue
    • setException
    • setOpenArgs
    • setStatusCode
    • unsetDynamicValue

    Constructors

    constructor

    + new WebSocketOpenFailureArgs(): WebSocketOpenFailureArgs

    Returns: WebSocketOpenFailureArgs

    Inherited from: Dynamic

    Defined in: Generated/TypeScript/fm.liveswitch/WebSocketOpenFailureArgs.ts:18

    Methods

    getDynamicProperties

    ▸ getDynamicProperties(): Hash<string, Object>

    Gets all dynamic properties on this instance.

    Returns: Hash<string, Object>

    Inherited from: Dynamic

    Defined in: Generated/TypeScript/fm.liveswitch/Dynamic.ts:37


    getDynamicValue

    ▸ getDynamicValue(key: string): Object

    Gets a property value from the local cache.

    Parameters:

    Name Type Description
    key string The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions.

    Returns: Object

    The stored value, if found; otherwise null.

    Inherited from: Dynamic

    Defined in: Generated/TypeScript/fm.liveswitch/Dynamic.ts:58


    getException

    ▸ getException(): Exception

    Gets the exception generated while connecting.

    Returns: Exception

    Defined in: Generated/TypeScript/fm.liveswitch/WebSocketOpenFailureArgs.ts:36


    getOpenArgs

    ▸ getOpenArgs(): WebSocketOpenArgs

    Gets the original arguments passed to the open method.

    Returns: WebSocketOpenArgs

    Defined in: Generated/TypeScript/fm.liveswitch/WebSocketOpenFailureArgs.ts:48


    getStatusCode

    ▸ getStatusCode(): WebSocketStatusCode

    Gets the status code associated with the failure to connect.

    Returns: WebSocketStatusCode

    Defined in: Generated/TypeScript/fm.liveswitch/WebSocketOpenFailureArgs.ts:60


    getTypeString

    ▸ getTypeString(): string

    Returns: string

    Overrides: Dynamic

    Defined in: Generated/TypeScript/fm.liveswitch/WebSocketOpenFailureArgs.ts:10


    setDynamicValue

    ▸ setDynamicValue(key: string, value: Object): void

    Sets a property value in the local cache.

    Parameters:

    Name Type Description
    key string The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions.
    value Object The property value. This can be any object that needs to be stored for future use.

    Returns: void

    Inherited from: Dynamic

    Defined in: Generated/TypeScript/fm.liveswitch/Dynamic.ts:95


    setException

    ▸ setException(value: Exception): void

    Sets the exception generated while connecting.

    Parameters:

    Name Type
    value Exception

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/WebSocketOpenFailureArgs.ts:72


    setOpenArgs

    ▸ setOpenArgs(value: WebSocketOpenArgs): void

    Sets the original arguments passed to the open method.

    Parameters:

    Name Type
    value WebSocketOpenArgs

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/WebSocketOpenFailureArgs.ts:84


    setStatusCode

    ▸ setStatusCode(value: WebSocketStatusCode): void

    Sets the status code associated with the failure to connect.

    Parameters:

    Name Type
    value WebSocketStatusCode

    Returns: void

    Defined in: Generated/TypeScript/fm.liveswitch/WebSocketOpenFailureArgs.ts:96


    unsetDynamicValue

    ▸ unsetDynamicValue(key: string): boolean

    Removes a property value from the local cache. Returns true if the value was removed and returns false otherwise.

    Parameters:

    Name Type Description
    key string The property key. This key is used internally only, but should be namespaced to avoid conflict with third-party extensions.

    Returns: boolean

    true if the value was removed; otherwise, false.

    Inherited from: Dynamic

    Defined in: Generated/TypeScript/fm.liveswitch/Dynamic.ts:122

    In This Article
    Back to top Copyright © LiveSwitch Inc. All Rights Reserved. Doc build for LiveSwitch v1.15.0