Skip to main content

Class: USyncDisappearingModeProtocol

Defined in: src/WAUSync/Protocols/USyncDisappearingModeProtocol.ts:9

Implements

  • USyncQueryProtocol

Constructors

new USyncDisappearingModeProtocol()

new USyncDisappearingModeProtocol(): USyncDisappearingModeProtocol

Returns

USyncDisappearingModeProtocol

Properties

name

name: string = 'disappearing_mode'

Defined in: src/WAUSync/Protocols/USyncDisappearingModeProtocol.ts:10

The name of the protocol

Implementation of

USyncQueryProtocol.name

Methods

getQueryElement()

getQueryElement(): BinaryNode

Defined in: src/WAUSync/Protocols/USyncDisappearingModeProtocol.ts:12

Defines what goes inside the query part of a USyncQuery

Returns

BinaryNode

Implementation of

USyncQueryProtocol.getQueryElement


getUserElement()

getUserElement(): null

Defined in: src/WAUSync/Protocols/USyncDisappearingModeProtocol.ts:19

Defines what goes inside the user part of a USyncQuery

Returns

null

Implementation of

USyncQueryProtocol.getUserElement


parser()

parser(node): undefined | DisappearingModeData

Defined in: src/WAUSync/Protocols/USyncDisappearingModeProtocol.ts:23

Parse the result of the query

Parameters

node

BinaryNode

Returns

undefined | DisappearingModeData

Whatever the protocol is supposed to return

Implementation of

USyncQueryProtocol.parser