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
}
enum
Weave message types used in this profile.
@297{
  kConnectRequestPoolSize = 4
}
enum
@298{
  kMask_DirectoryLen = 0x0F,
  kMask_Redirect = 0x10,
  kMask_SuffixTablePresent = 0x20,
  kMask_TimeFieldsPresent = 0x40
}
enum
Masks for the control byte of the service endpoint response frame.
@299{
  kMask_HostPortListLen = 0x07,
  kMask_DirectoryEntryType = 0xC0,
  kDirectoryEntryType_SingleNode = 0x00,
  kDirectoryEntryType_HostPortList = 0x40
}
enum
Masks 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
}
enum
Masks and values for the control byte in each host/port list item.
@301{
  kStatus_DirectoryUnavailable = 0x0051
}
enum
Status code.
@302 enum
Manager states.

Classes

nl::Weave::Profiles::ServiceDirectory::WeaveServiceManager

The manager object for the Weave service directory.

Structs

nl::Weave::Profiles::ServiceDirectory::ServiceConnectBeginArgs

Arguments passed to the WeaveServiceManager::OnConnectBegin callback.

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.

@302

 @302

Manager states.