Interface IConnectionId

The identifier of a single IConnection.

interface IConnectionId {
    isChild: boolean;
    transportId: string;
    equals(that: IConnectionId): boolean;
    toString(): string;
}

Methods

  • Checks if another connection ID is equivalent to this one.

    Parameters

    • that: IConnectionId

      another IConnectionID to test for equivalence.

    Returns boolean

    true if the connection IDs are equal, false if not

  • Creates a string representation of the connection ID.

    Returns string

    the connection ID as a string.

Properties

isChild: boolean

Determines whether the connection is for a child or parent device.

transportId: string

Internal ID used for communication with the connection.