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

#include <src/lib/profiles/service-directory/ServiceDirectory.h>

Arguments passed to the WeaveServiceManager::OnConnectBegin callback.

Summary

Constructors and Destructors

ServiceConnectBeginArgs(uint64_t inServiceEndpoint, WeaveConnection *inConnection, HostPortList *inEndpointHostPortList, InterfaceId inConnectIntf, WeaveAuthMode inAuthMode, uint8_t inDNSOptions)

Public attributes

AuthMode
WeaveAuthMode
The desired authentication mode for the connection.
ConnectIntf
InterfaceId
The network interface over which the connection should be established.
Connection
The #WeaveConnection object that will be used to establish the connection.
DNSOptions
uint8_t
A set of options controlling how hostname resolution is performed.
EndpointHostPortList
HostPortList *const
A HostPortList object containing the hostname and port information for connection.
ServiceEndpoint
const uint64_t
The service endpoint to which the connect is being established.

Public attributes

AuthMode

WeaveAuthMode nl::Weave::Profiles::ServiceDirectory::ServiceConnectBeginArgs::AuthMode

The desired authentication mode for the connection.

ConnectIntf

InterfaceId nl::Weave::Profiles::ServiceDirectory::ServiceConnectBeginArgs::ConnectIntf

The network interface over which the connection should be established.

Connection

WeaveConnection *const nl::Weave::Profiles::ServiceDirectory::ServiceConnectBeginArgs::Connection

The #WeaveConnection object that will be used to establish the connection.

DNSOptions

uint8_t nl::Weave::Profiles::ServiceDirectory::ServiceConnectBeginArgs::DNSOptions

A set of options controlling how hostname resolution is performed.

EndpointHostPortList

HostPortList *const nl::Weave::Profiles::ServiceDirectory::ServiceConnectBeginArgs::EndpointHostPortList

A HostPortList object containing the hostname and port information for connection.

ServiceEndpoint

const uint64_t nl::Weave::Profiles::ServiceDirectory::ServiceConnectBeginArgs::ServiceEndpoint

The service endpoint to which the connect is being established.

Public functions

ServiceConnectBeginArgs

 nl::Weave::Profiles::ServiceDirectory::ServiceConnectBeginArgs::ServiceConnectBeginArgs(
  uint64_t inServiceEndpoint,
  WeaveConnection *inConnection,
  HostPortList *inEndpointHostPortList,
  InterfaceId inConnectIntf,
  WeaveAuthMode inAuthMode,
  uint8_t inDNSOptions
)