Implements
USyncQueryProtocol
Constructors
new USyncDeviceProtocol()
new USyncDeviceProtocol(): USyncDeviceProtocol
Returns
USyncDeviceProtocol
Properties
name
name:Defined in: src/WAUSync/Protocols/USyncDeviceProtocol.ts:23 The name of the protocolstring='devices'
Implementation of
USyncQueryProtocol.name
Methods
getQueryElement()
getQueryElement(): BinaryNode
Defined in: src/WAUSync/Protocols/USyncDeviceProtocol.ts:25
Defines what goes inside the query part of a USyncQuery
Returns
BinaryNode
Implementation of
USyncQueryProtocol.getQueryElement
getUserElement()
getUserElement():Defined in: src/WAUSync/Protocols/USyncDeviceProtocol.ts:34 Defines what goes inside the user part of a USyncQuerynull|BinaryNode
Returns
null | BinaryNode
Implementation of
USyncQueryProtocol.getUserElement
parser()
parser(Defined in: src/WAUSync/Protocols/USyncDeviceProtocol.ts:41 Parse the result of the querynode):ParsedDeviceInfo
Parameters
node
BinaryNode
Returns
ParsedDeviceInfo
Whatever the protocol is supposed to return
Implementation of
USyncQueryProtocol.parser