با مجموعهها، منظم بمانید
ذخیره و طبقهبندی محتوا براساس اولویتهای شما.
gpg:: درخواست اتصال
#include <nearby_connection_types.h>
درخواست برای ایجاد ارتباط
خلاصه
صفات عمومی |
---|
payload | std::vector< uint8_t > یک پیام سفارشی با درخواست اتصال ارسال شده است. |
remote_endpoint_id | std::string شناسه نقطه پایانی راه دور که درخواست اتصال دارد. |
remote_endpoint_name | std::string نام نمونه ای که درخواست اتصال می کند. |
صفات عمومی
محموله
std::vector< uint8_t > gpg::ConnectionRequest::payload
یک پیام سفارشی با درخواست اتصال ارسال شده است.
remote_endpoint_id
std::string gpg::ConnectionRequest::remote_endpoint_id
شناسه نقطه پایانی راه دور که درخواست اتصال دارد.
remote_endpoint_name
std::string gpg::ConnectionRequest::remote_endpoint_name
نام نمونه ای که درخواست اتصال می کند.
محتوا و نمونه کدها در این صفحه مشمول پروانههای توصیفشده در پروانه محتوا هستند. جاوا و OpenJDK علامتهای تجاری یا علامتهای تجاری ثبتشده Oracle و/یا وابستههای آن هستند.
تاریخ آخرین بهروزرسانی 2025-07-29 بهوقت ساعت هماهنگ جهانی.
[null,null,["تاریخ آخرین بهروزرسانی 2025-07-29 بهوقت ساعت هماهنگ جهانی."],[],[],null,["# gpg::ConnectionRequest Struct Reference\n\ngpg::ConnectionRequest\n======================\n\n`#include \u003cnearby_connection_types.h\u003e`\n\nA request to establish a connection.\n\nSummary\n-------\n\n| ### Public attributes ||\n|----------------------------------------------------------------------------------------------|------------------------------------------------------------------------------|\n| [payload](#structgpg_1_1_connection_request_1a28023285a3a3aa00ff67567517ceafef) | `std::vector\u003c uint8_t \u003e` A custom message sent with the connection request. |\n| [remote_endpoint_id](#structgpg_1_1_connection_request_1a5255399171cda9c7aacd60eeec37b635) | `std::string` The ID of the remote endpoint that is requesting a connection. |\n| [remote_endpoint_name](#structgpg_1_1_connection_request_1ac4f4c3030d3649975e90b55fa53e3f69) | `std::string` The name of the instance that is requesting a connection. |\n\nPublic attributes\n-----------------\n\n### payload\n\n```c++\nstd::vector\u003c uint8_t \u003e gpg::ConnectionRequest::payload\n``` \nA custom message sent with the connection request. \n\n### remote_endpoint_id\n\n```c++\nstd::string gpg::ConnectionRequest::remote_endpoint_id\n``` \nThe ID of the remote endpoint that is requesting a connection. \n\n### remote_endpoint_name\n\n```c++\nstd::string gpg::ConnectionRequest::remote_endpoint_name\n``` \nThe name of the instance that is requesting a connection."]]