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

@275{
  kMsgType_ServiceEndpointQuery = 0x00,
  kMsgType_ServiceEndpointResponse = 0x01
}
enum
Weave message types used in this profile.
@276{
  kConnectRequestPoolSize = 4
}
enum
@277{
  kMask_DirectoryLen = 0x0F,
  kMask_Redirect = 0x10,
  kMask_SuffixTablePresent = 0x20,
  kMask_TimeFieldsPresent = 0x40
}
enum
Masks for the control byte of the service endpoint response frame.
@278{
  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.
@279{
  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.
@280{
  kStatus_DirectoryUnavailable = 0x0051
}
enum
Status code.
@281 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

@275

 @275

Weave message types used in this profile.

Properties
kMsgType_ServiceEndpointQuery

Service Endpoint Query message type.

kMsgType_ServiceEndpointResponse

Service Endpoint Response message type.

@276

 @276
Properties
kConnectRequestPoolSize

the number of simultaneous connect requests

@277

 @277

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.

@278

 @278

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.

@279

 @279

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.

@280

 @280

Status code.

Properties
kStatus_DirectoryUnavailable

Directory is not available.

@281

 @281

Manager states.