Skip to main content

Class: USyncStatusProtocol

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

Implements

  • USyncQueryProtocol

Constructors

new USyncStatusProtocol()

new USyncStatusProtocol(): USyncStatusProtocol

Returns

USyncStatusProtocol

Properties

name

name: string = 'status'

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

The name of the protocol

Implementation of

USyncQueryProtocol.name

Methods

getQueryElement()

getQueryElement(): BinaryNode

Defined in: src/WAUSync/Protocols/USyncStatusProtocol.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/USyncStatusProtocol.ts:19

Defines what goes inside the user part of a USyncQuery

Returns

null

Implementation of

USyncQueryProtocol.getUserElement


parser()

parser(node): undefined | StatusData

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

Parse the result of the query

Parameters

node

BinaryNode

Returns

undefined | StatusData

Whatever the protocol is supposed to return

Implementation of

USyncQueryProtocol.parser