nl::Weave::Warm::Platform

खास जानकारी

फ़ंक्शन

AddRemoveHostAddress(InterfaceType inInterfaceType, const Inet::IPAddress & inAddress, uint8_t inPrefixLength, bool inAdd)
ऐसा प्लैटफ़ॉर्म एपीआई जिसे वर्म कॉल करके, होस्ट टीसीपी / आईपी स्टैक पर दिए गए इंटरफ़ेस में, किसी होस्ट आईपी पते को जोड़ने/हटाने के लिए कॉल करता है.
AddRemoveHostRoute(InterfaceType inInterfaceType, const Inet::IPPrefix & inPrefix, RoutePriority inPriority, bool inAdd)
ऐसा प्लैटफ़ॉर्म एपीआई जिसे वार्म कॉल करके, होस्ट टीसीपी / आईपी स्टैक पर तय इंटरफ़ेस के लिए किसी आईपी रूट को जोड़ने/हटाने के लिए कॉल करता है.
AddRemoveThreadAddress(InterfaceType inInterfaceType, const Inet::IPAddress & inAddress, bool inAdd)
ऐसा प्लैटफ़ॉर्म एपीआई जिसे वर्म पर कॉल किया जाता है और जो Thread टीसीपी / आईपी स्टैक पर बताए गए इंटरफ़ेस में आईपी पते को जोड़ने/हटाने के लिए कॉल करता है.
AddRemoveThreadRoute(InterfaceType inInterfaceType, const Inet::IPPrefix & inPrefix, RoutePriority inPriority, bool inAdd)
ऐसा प्लैटफ़ॉर्म एपीआई जिसे वर्म कॉल करके, Thread टीसीपी/आईपी स्टैक पर तय इंटरफ़ेस के लिए किसी आईपी रूट को जोड़ने या हटाने के लिए कॉल करता है.
CriticalSectionEnter(void)
void
इंटरनल स्टेट के ऐक्सेस को सुरक्षित रखने के लिए, प्लैटफ़ॉर्म एपीआई Warm.
CriticalSectionExit(void)
void
ऐसा प्लैटफ़ॉर्म एपीआई जिसे Warm करके कॉल करके, इंटरनल स्टेट के सुरक्षित ऐक्सेस को रिलीज़ किया जाएगा.
Init(WarmFabricStateDelegate *inFabricStateDelegate)
ऐसा प्लैटफ़ॉर्म एपीआई जिसे Warm, nl::Warm::Init के तहत कॉल करेगा.
RequestInvokeActions(void)
void
एक प्लैटफ़ॉर्म एपीआई जिसे Warm कॉल करके यह एलान करेगा कि प्लैटफ़ॉर्म को InvokeActions कॉल करना चाहिए.
SetThreadRoutePriority(InterfaceType inInterfaceType, const Inet::IPPrefix & inPrefix, RoutePriority inPriority)
ऐसा प्लैटफ़ॉर्म एपीआई जिसे Thread टीसीपी/आईपी स्टैक पर बताए गए इंटरफ़ेस के लिए, मौजूदा आईपी रूट की प्राथमिकता बदलने के लिए Warm कॉल किया जाएगा.
StartStopThreadAdvertisement(InterfaceType inInterfaceType, const Inet::IPPrefix & inPrefix, bool inStart)
ऐसा प्लैटफ़ॉर्म एपीआई जिसे Warm, Thread इंटरफ़ेस पर किसी आईपी प्रीफ़िक्स के विज्ञापन को चालू या बंद करने के लिए कॉल करेगा.

फ़ंक्शन

AddRemoveHostAddress

PlatformResult AddRemoveHostAddress(
  InterfaceType inInterfaceType,
  const Inet::IPAddress & inAddress,
  uint8_t inPrefixLength,
  bool inAdd
)

ऐसा प्लैटफ़ॉर्म एपीआई जिसे वर्म कॉल करके, होस्ट टीसीपी / आईपी स्टैक पर दिए गए इंटरफ़ेस में, किसी होस्ट आईपी पते को जोड़ने/हटाने के लिए कॉल करता है.

यह प्रोसेस पूरी होने के बाद, प्लैटफ़ॉर्म को ReportActioncomplete को कॉल करना होगा. इससे आखिरी नतीजा मिलेगा.

जानकारी
पैरामीटर
[in] inInterfaceType
संशोधित किया जाने वाला इंटरफ़ेस.
[in] inAddress
जोड़ा/हटाया जाने वाला आईपी पता.
[in] inPrefixLength
inAddress की प्रीफ़िक्स लंबाई.
[in] inAdd
पता जोड़ने के लिए सही, पता हटाने के लिए गलत.
रिटर्न वैल्यू
kPlatformResultSuccess
कार्रवाई पूरी हो गई.
kPlatformResultFailure
कार्रवाई नहीं की जा सकी.
kPlatformResultInProgress
कार्रवाई एसिंक्रोनस रूप से पूरी होगी.

AddRemoveHostRoute

PlatformResult AddRemoveHostRoute(
  InterfaceType inInterfaceType,
  const Inet::IPPrefix & inPrefix,
  RoutePriority inPriority,
  bool inAdd
)

ऐसा प्लैटफ़ॉर्म एपीआई जिसे वार्म कॉल करके, होस्ट टीसीपी / आईपी स्टैक पर तय इंटरफ़ेस के लिए किसी आईपी रूट को जोड़ने/हटाने के लिए कॉल करता है.

यह प्रोसेस पूरी होने के बाद, प्लैटफ़ॉर्म को ReportActioncomplete को कॉल करना होगा. इससे आखिरी नतीजा मिलेगा.

जानकारी
पैरामीटर
[in] inInterfaceType
संशोधित किया जाने वाला इंटरफ़ेस.
[in] inPrefix
जोड़ने / हटाने के लिए आईपी प्रीफ़िक्स.
[in] inPriority
रूट असाइन होने के दौरान इस्तेमाल की जाने वाली प्राथमिकता.
[in] inAdd
प्रीफ़िक्स को रूट के तौर पर जोड़ने के लिए 'सही' डालें, रूट के तौर पर प्रीफ़िक्स हटाने के लिए 'गलत'.
रिटर्न वैल्यू
kPlatformResultSuccess
कार्रवाई पूरी हो गई.
kPlatformResultFailure
कार्रवाई नहीं की जा सकी.
kPlatformResultInProgress
कार्रवाई एसिंक्रोनस रूप से पूरी होगी.

AddRemoveThreadAddress

PlatformResult AddRemoveThreadAddress(
  InterfaceType inInterfaceType,
  const Inet::IPAddress & inAddress,
  bool inAdd
)

ऐसा प्लैटफ़ॉर्म एपीआई जिसे वर्म पर कॉल किया जाता है और जो Thread टीसीपी / आईपी स्टैक पर बताए गए इंटरफ़ेस में आईपी पते को जोड़ने/हटाने के लिए कॉल करता है.

यह प्रोसेस पूरी होने के बाद, प्लैटफ़ॉर्म को ReportActioncomplete को कॉल करना होगा. इससे आखिरी नतीजा मिलेगा.

जानकारी
पैरामीटर
[in] inInterfaceType
संशोधित किया जाने वाला इंटरफ़ेस.
[in] inAddress
जोड़ा/हटाया जाने वाला आईपी पता.
[in] inAdd
पता जोड़ने के लिए सही, पता हटाने के लिए गलत.
रिटर्न वैल्यू
kPlatformResultSuccess
कार्रवाई पूरी हो गई.
kPlatformResultFailure
कार्रवाई नहीं की जा सकी.
kPlatformResultInProgress
कार्रवाई एसिंक्रोनस रूप से पूरी होगी.

AddRemoveThreadRoute

PlatformResult AddRemoveThreadRoute(
  InterfaceType inInterfaceType,
  const Inet::IPPrefix & inPrefix,
  RoutePriority inPriority,
  bool inAdd
)

ऐसा प्लैटफ़ॉर्म एपीआई जिसे वर्म कॉल करके, Thread टीसीपी/आईपी स्टैक पर तय इंटरफ़ेस के लिए किसी आईपी रूट को जोड़ने या हटाने के लिए कॉल करता है.

यह प्रोसेस पूरी होने के बाद, प्लैटफ़ॉर्म को ReportActioncomplete को कॉल करना होगा. इससे आखिरी नतीजा मिलेगा.

जानकारी
पैरामीटर
[in] inInterfaceType
संशोधित किया जाने वाला इंटरफ़ेस.
[in] inPrefix
असाइन करने या हटाने के लिए आईपी प्रीफ़िक्स.
[in] inPriority
रूट असाइन होने के दौरान इस्तेमाल की जाने वाली प्राथमिकता.
[in] inAdd
प्रीफ़िक्स को रूट के तौर पर जोड़ने के लिए 'सही' डालें, रूट के तौर पर प्रीफ़िक्स हटाने के लिए 'गलत'.
रिटर्न वैल्यू
kPlatformResultSuccess
कार्रवाई पूरी हो गई.
kPlatformResultFailure
कार्रवाई नहीं की जा सकी.
kPlatformResultInProgress
कार्रवाई एसिंक्रोनस रूप से पूरी होगी.

CriticalSectionEnter

void CriticalSectionEnter(
  void
)

इंटरनल स्टेट के ऐक्सेस को सुरक्षित रखने के लिए, प्लैटफ़ॉर्म एपीआई Warm.

CriticalSectionExit

void CriticalSectionExit(
  void
)

ऐसा प्लैटफ़ॉर्म एपीआई जिसे Warm करके कॉल करके, इंटरनल स्टेट के सुरक्षित ऐक्सेस को रिलीज़ किया जाएगा.

शुरू करें

WEAVE_ERROR Init(
  WarmFabricStateDelegate *inFabricStateDelegate
)

ऐसा प्लैटफ़ॉर्म एपीआई जिसे Warm, nl::Warm::Init के तहत कॉल करेगा.

जानकारी
पैरामीटर
[in] inFabricStateDelegate
फ़ैब्रिक स्टेट डेलिगेट ऑब्जेक्ट के लिए पॉइंटर, जिसका इस्तेमाल Warm करने के लिए किया जाता है. इस ऑब्जेक्ट का इस्तेमाल फ़ैब्रिक की स्थिति के अपडेट पाने के लिए किया जाता है.
लौटाए गए सामान
सफल होने पर WEAVE_NO_ERROR, नहीं तो गड़बड़ी कोड.

RequestInvokeActions

void RequestInvokeActions(
  void
)

एक प्लैटफ़ॉर्म एपीआई जिसे Warm कॉल करके यह एलान करेगा कि प्लैटफ़ॉर्म को InvokeActions कॉल करना चाहिए.

SetThreadRoutePriority

PlatformResult SetThreadRoutePriority(
  InterfaceType inInterfaceType,
  const Inet::IPPrefix & inPrefix,
  RoutePriority inPriority
)

ऐसा प्लैटफ़ॉर्म एपीआई जिसे Thread टीसीपी/आईपी स्टैक पर बताए गए इंटरफ़ेस के लिए, मौजूदा आईपी रूट की प्राथमिकता बदलने के लिए Warm कॉल किया जाएगा.

यह प्रोसेस पूरी होने के बाद, प्लैटफ़ॉर्म को ReportActioncomplete को कॉल करना होगा. इससे आखिरी नतीजा मिलेगा.

जानकारी
पैरामीटर
[in] inInterfaceType
संशोधित किया जाने वाला इंटरफ़ेस.
[in] inPrefix
बदलाव करने के लिए आईपी प्रीफ़िक्स.
[in] inPriority
रूट पर लागू की जाने वाली नई प्राथमिकता.
रिटर्न वैल्यू
kPlatformResultSuccess
कार्रवाई पूरी हो गई.
kPlatformResultFailure
कार्रवाई नहीं की जा सकी.
kPlatformResultInProgress
कार्रवाई एसिंक्रोनस रूप से पूरी होगी.

StartStopThreadAdvertisement

PlatformResult StartStopThreadAdvertisement(
  InterfaceType inInterfaceType,
  const Inet::IPPrefix & inPrefix,
  bool inStart
)

ऐसा प्लैटफ़ॉर्म एपीआई जिसे Warm, Thread इंटरफ़ेस पर किसी आईपी प्रीफ़िक्स के विज्ञापन को चालू या बंद करने के लिए कॉल करेगा.

यह प्रोसेस पूरी होने के बाद, प्लैटफ़ॉर्म को ReportActioncomplete को कॉल करना होगा. इससे आखिरी नतीजा मिलेगा.

जानकारी
पैरामीटर
[in] inInterfaceType
संशोधित किया जाने वाला इंटरफ़ेस.
[in] inPrefix
वह आईपी प्रीफ़िक्स जिसके लिए विज्ञापन दिखाना शुरू करना / रोकना चाहिए.
[in] inStart
विज्ञापन शुरू करने के लिए सही है, विज्ञापन रोकने के लिए गलत.
रिटर्न वैल्यू
kPlatformResultSuccess
कार्रवाई पूरी हो गई.
kPlatformResultFailure
कार्रवाई नहीं की जा सकी.
kPlatformResultInProgress
कार्रवाई एसिंक्रोनस रूप से पूरी होगी.