Implements
USyncQueryProtocol
Constructors
new USyncUsernameProtocol()
new USyncUsernameProtocol(): USyncUsernameProtocol
Returns
USyncUsernameProtocol
Properties
name
name:Defined in: src/WAUSync/Protocols/USyncUsernameProtocol.ts:6 The name of the protocolstring='username'
Implementation of
USyncQueryProtocol.name
Methods
getQueryElement()
getQueryElement(): BinaryNode
Defined in: src/WAUSync/Protocols/USyncUsernameProtocol.ts:8
Defines what goes inside the query part of a USyncQuery
Returns
BinaryNode
Implementation of
USyncQueryProtocol.getQueryElement
getUserElement()
getUserElement(Defined in: src/WAUSync/Protocols/USyncUsernameProtocol.ts:15 Defines what goes inside the user part of a USyncQueryuser):null|BinaryNode
Parameters
user
USyncUser
Returns
null | BinaryNode
Implementation of
USyncQueryProtocol.getUserElement
parser()
parser(Defined in: src/WAUSync/Protocols/USyncUsernameProtocol.ts:20 Parse the result of the querynode):null|string
Parameters
node
BinaryNode
Returns
null | string
Whatever the protocol is supposed to return
Implementation of
USyncQueryProtocol.parser