Class: USyncContactProtocol
Defined in: src/WAUSync/Protocols/USyncContactProtocol.ts:5
Implements
USyncQueryProtocol
Constructors
new USyncContactProtocol()
new USyncContactProtocol():
USyncContactProtocol
Returns
Properties
name
name:
string
='contact'
Defined in: src/WAUSync/Protocols/USyncContactProtocol.ts:6
The name of the protocol
Implementation of
USyncQueryProtocol.name
Methods
getQueryElement()
getQueryElement():
BinaryNode
Defined in: src/WAUSync/Protocols/USyncContactProtocol.ts:8
Defines what goes inside the query part of a USyncQuery
Returns
Implementation of
USyncQueryProtocol.getQueryElement
getUserElement()
getUserElement(
user
):BinaryNode
Defined in: src/WAUSync/Protocols/USyncContactProtocol.ts:15
Defines what goes inside the user part of a USyncQuery
Parameters
user
Returns
Implementation of
USyncQueryProtocol.getUserElement
parser()
parser(
node
):boolean
Defined in: src/WAUSync/Protocols/USyncContactProtocol.ts:24
Parse the result of the query
Parameters
node
Returns
boolean
Whatever the protocol is supposed to return
Implementation of
USyncQueryProtocol.parser