Google is committed to advancing racial equity for Black communities.
See how.
Send feedback
Stay organized with collections
Save and categorize content based on your preferences.
nl:: Weave:: Profiles:: ServiceDirectory
This namespace includes all interfaces within Weave for the Weave Service Directory profile, which includes the corresponding, protocol of the same name.
Summary
Enumerations
@296 { kMsgType_ServiceEndpointQuery = 0x00, kMsgType_ServiceEndpointResponse = 0x01 }
enumWeave message types used in this profile.
@297 { kConnectRequestPoolSize = 4 }
enum
@298 { kMask_DirectoryLen = 0x0F, kMask_Redirect = 0x10, kMask_SuffixTablePresent = 0x20, kMask_TimeFieldsPresent = 0x40 }
enumMasks for the control byte of the service endpoint response frame.
@299 { kMask_HostPortListLen = 0x07, kMask_DirectoryEntryType = 0xC0, kDirectoryEntryType_SingleNode = 0x00, kDirectoryEntryType_HostPortList = 0x40 }
enumMasks and values for the control byte of the directory list field of the service endpoint response frame.
@300 { kMask_HostIdType = 0x03, kHostIdType_FullyQualified = 0x00, kHostIdType_Composite = 0x01, kMask_SuffixIndexPresent = 0x04, kMask_PortIdPresent = 0x08 }
enumMasks and values for the control byte in each host/port list item.
@301 { kStatus_DirectoryUnavailable = 0x0051 }
enumStatus code.
@302
enumManager states.
Enumerations
@296
@296
Weave message types used in this profile.
Properties
kMsgType_ServiceEndpointQuery
Service Endpoint Query message type.
kMsgType_ServiceEndpointResponse
Service Endpoint Response message type.
@297
@297
Properties
kConnectRequestPoolSize
the number of simultaneous connect requests
@298
@298
Masks for the control byte of the service endpoint response frame.
Properties
kMask_DirectoryLen
Length of the directory.
kMask_Redirect
Redirect flag.
kMask_SuffixTablePresent
Suffix table present flag.
kMask_TimeFieldsPresent
Time fields present flag.
@299
@299
Masks and values for the control byte of the directory list field of the service endpoint response frame.
Properties
kDirectoryEntryType_HostPortList
This entry is a list of host/port pairs.
kDirectoryEntryType_SingleNode
A zero value means this entry is a node ID.
kMask_DirectoryEntryType
Entry Type.
kMask_HostPortListLen
Length of the host/port list.
@300
@300
Masks and values for the control byte in each host/port list item.
Properties
kHostIdType_Composite
The host ID needs to be matched with a suffix.
kHostIdType_FullyQualified
The host ID is all there.
kMask_HostIdType
The type of host ID.
kMask_PortIdPresent
A port ID is present.
kMask_SuffixIndexPresent
A suffix index is present.
@301
@301
Status code.
Properties
kStatus_DirectoryUnavailable
Directory is not available.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates. Thread is a registered trademark of the Thread Group, Inc.
Last updated 2020-08-28 UTC.
[{
"type": "thumb-down",
"id": "missingTheInformationINeed",
"label":"Missing the information I need"
},{
"type": "thumb-down",
"id": "tooComplicatedTooManySteps",
"label":"Too complicated / too many steps"
},{
"type": "thumb-down",
"id": "outOfDate",
"label":"Out of date"
},{
"type": "thumb-down",
"id": "samplesCodeIssue",
"label":"Samples / code issue"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"Other"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"Easy to understand"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"Solved my problem"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"Other"
}]
Need to tell us more?