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

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

อาร์กิวเมนต์ที่ส่งไปยังโค้ดเรียกกลับ WeaveServiceManager::OnConnectStart

สรุป

เครื่องมือสร้างและตัวสร้าง

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

แอตทริบิวต์สาธารณะ

AuthMode
WeaveAuthMode
โหมดการตรวจสอบสิทธิ์ที่ต้องการสําหรับการเชื่อมต่อ
ConnectIntf
InterfaceId
อินเทอร์เฟซเครือข่ายที่ต้องการสร้างการเชื่อมต่อ
Connection
ออบเจ็กต์ #WeaveConnection ที่จะใช้ในการสร้างการเชื่อมต่อ
DNSOptions
uint8_t
ชุดตัวเลือกในการควบคุมประสิทธิภาพชื่อโฮสต์
EndpointHostPortList
HostPortList *const
ออบเจ็กต์ HostPortList ที่มีชื่อโฮสต์และข้อมูลพอร์ตสําหรับการเชื่อมต่อ
ServiceEndpoint
const uint64_t
ปลายทางบริการที่กําลังเชื่อมต่อ

แอตทริบิวต์สาธารณะ

โหมดการตรวจสอบสิทธิ์

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

โหมดการตรวจสอบสิทธิ์ที่ต้องการสําหรับการเชื่อมต่อ

ConnectIntf

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

อินเทอร์เฟซเครือข่ายที่ต้องการสร้างการเชื่อมต่อ

การเชื่อมต่อ

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

ออบเจ็กต์ #WeaveConnection ที่จะใช้ในการสร้างการเชื่อมต่อ

ตัวเลือก DNS

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

ชุดตัวเลือกในการควบคุมประสิทธิภาพชื่อโฮสต์

รายการโฮสต์ปลายทาง

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

ออบเจ็กต์ HostPortList ที่มีชื่อโฮสต์และข้อมูลพอร์ตสําหรับการเชื่อมต่อ

ปลายทางบริการ

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

ปลายทางบริการที่กําลังเชื่อมต่อ

ฟังก์ชันสาธารณะ

ServiceConnectStartArgs

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