Meta tags:
Headings (most frequently used words):
public, init, binding, completeconfirm, types, attributes, functions, finalize, uncompleterequest, nl, weave, profiles, datamanagement_legacy, summary, constructors, and, destructors, 165, mauthmode, mconnection, mengine, mpeernodeid, mservicemgr, mstate, mtransport, completerequest, connect, free, getexchangectx, incompleteindication, iscomplete, isfree, github, support,
Text of the page (most frequently used words):
the (114), overview (105), #binding (96), classes (64), void (39), this (31), and (28), state (25), object (24), weave (22), parser (21), connection (20), weave_error (19), builder (19), use (18), with (17), structs (17), for (16), complete (16), details (15), tcp (15), service (15), are (14), free (14), that (14), pointer (14), weaveconnection (14), may (13), node (13), parameters (12), init (12), ineventparam (12), bindings (11), reference (11), request (11), completeconfirm (11), outeventparam (11), used (10), uncompleterequest (10), method (10), protocolengine (10), completed (10), has (9), aconnection (9), which (9), thumb (8), also (8), not (8), weave_no_error (8), based (8), bind (8), initialize (8), uint64_t (8), statusreport (8), handle (8), finalize (8), under (7), see (7), peer (7), success (7), return (7), values (7), endpoint (7), completion (7), application (7), transport (7), areport (7), platform (7), any (6), aerr (6), incomplete (6), after (6), cause (6), time (6), completing (6), bit (6), const (6), target (6), apeernodeid (6), uint8_t (6), when (6), failure (6), exchangecontext (6), uncomplete (6), public (6), profiles (6), down (5), been (5), completerequest (5), udp (5), process (5), they (5), note (5), weave_error_invalid_argument (5), from (5), weaveservicemanager (5), read (5), only (5), communications (5), português (4), español (4), code (4), more (4), otherwise (4), its (4), related (4), all (4), objects (4), but (4), cleanup (4), error (4), returns (4), context (4), isfree (4), check (4), bool (4), aengine (4), case (4), initialized (4), specified (4), authentication (4), mode (4), weaveauthmode (4), connect (4), confirmation (4), mtransport (4), servicemanager (4), mconnection (4), known (4), unions (4), happy (3), openweave (3), github (3), easy (3), content (3), license (3), internal (3), called (3), relevant (3), should (3), applications (3), part (3), simply (3), initialization (3), iscomplete (3), immediately (3), already (3), aauthmode (3), manager (3), instance (3), aservicemgr (3), aserviceept (3), particular (3), requires (3), include (3), normally (3), atransport (3), way (3), wrmp (3), default (3), just (3), invoked (3), invokes (3), layer (3), incompleteindication (3), aappstate (3), aexchangemgr (3), getexchangectx (3), weaveexchangemanager (3), addition (3), initial (3), providing (3), required (3), being (3), current (3), mstate (3), mservicemgr (3), servicedirectory (3), entity (3), mpeernodeid (3), mengine (3), mauthmode (3), set (3), 165 (3), options (3), class (3), datamanagement_legacy (3), security (3), provisioning (3), 한국어 (2), 日本語 (2), ภาษาไทย (2), বাংলা (2), हिंदी (2), فارسی (2), العربيّة (2), עברית (2), русский (2), türkçe (2), tiếng (2), việt (2), brasil (2), polski (2), italiano (2), indonesia (2), français (2), américa (2), latina (2), deutsch (2), english (2), google (2), support (2), openthread (2), other (2), need (2), too (2), out (2), samples (2), last (2), updated (2), 2020 (2), utc (2), licensed (2), java (2), clears (2), destructor (2), aborted (2), fundamentally (2), shall (2), subtly (2), contained (2), itself (2), cleaned (2), well (2), consider (2), invoking (2), true (2), false (2), means (2), defined (2), since (2), ready (2), generally (2), must (2), multi (2), stage (2), before (2), these (2), self (2), sense (2), connecting (2), identifier (2), you (2), later (2), confirm (2), original (2), where (2), them (2), results (2), describing (2), null (2), exchange (2), produce (2), clear (2), could (2), have (2), closure (2), handled (2), cleared (2), largely (2), sake (2), convenience (2), both (2), weave_error_incorrect_state (2), demand (2), make (2), send (2), can (2), explicitly (2), behalf (2), wants (2), control (2), least (2), respect (2), constructor (2), functions (2), one (2), optional (2), currently (2), attributes (2), kstate_incomplete (2), kstate_completing (2), kstate_complete (2), states (2), types (2), using (2), unicast (2), communication (2), remote (2), stuff (2), weavedevicemanager (2), weavedevicedescriptor (2), networkinfo (2), identifydevicecriteria (2), devicemanager (2), weavesecuritysupport (2), weavekeyid (2), weavecertificatesupport (2), passcodeencryptionsupport (2), hkdf (2), nestlabs (2), namespaces (2), schema (2), stats (2), devicedescription (2), warm (2), root (2), deviceca (2), inetlayer (2), passive (2), rendezvous (2), serviceprovisioningserver (2), networkprovisioningserver (2), fabricprovisioningserver (2), weaveechoserver (2), weaveechoclient (2), devicedescriptionserver (2), devicecontrolserver (2), transfererror (2), sendreject (2), sendinit (2), sendaccept (2), receivereject (2), receiveinit (2), receiveaccept (2), blocksend (2), blockquery (2), blockeofack (2), blockeof (2), blockack (2), resources (2), documents (2), guides (2), manage, cookies, privacy, terms, stack, overflow, groups, bug, feature, requests, understand, easytounderstand, solved, problem, solvedmyproblem, otherup, missing, information, missingtheinformationineed, complicated, many, steps, toocomplicatedtoomanysteps, date, outofdate, issue, samplescodeissue, otherdown, tell, except, noted, page, registered, trademark, oracle, affiliates, marks, trademarks, thread, group, developers, site, policies, apache, creative, commons, attribution, necessary, closes, open, connections, virtual, existing, would, instead, gracefully, closed, thought, meaning, had, tantamount, thus, point, always, previously, depend, especially, endpoints, speaking, through, described, elsewhere, basis, like, because, looking, tier, interest, how, nest, kind, populating, updating, local, directory, cache, most, hidden, errors, arising, delivered, via, callback, sometimes, long, specification, weavetransportoption, specifially, underlies, configured, referemce, what, went, wrong, turn, higher, handlers, fails, status, denoting, stored, unconditionally, indicates, newly, cannot, until, done, attempts, messages, returned, while, trying, none, available, weave_error_no_memory, performed, call, underlying, wdm, tries, sending, message, however, example, made, requiring, carried, provides, access, exchangemanager, active, possible, dmconstants, operation, run, ask, calls, function, variable, below, tracks, acts, lockout, supplied, place, normal, require, every, named, here, name, protocol, engine, mostly, accessing, messagelayer, keep, track, although, permissible, unexpected, modify, value, directly, right, off, bat, allocate, governed, read_only, final, properties, enum, constructors, destructors, pre, established, things, broadcast, communicate, there, exists, wide, variety, corrals, arranges, such, difficult, tractable, covered, summary, manages, src, lib, data, management, legacy, save, categorize, your, preferences, stay, organized, collections, feedback, wifisecuritytype, wifirole, wifimode, weavestack, weavedevicemanagerexception, completionhandler, weavedeviceexception, testfailedexception, testmain, targetfabricid, targetdevicemodes, resetflags, rendezvousmode, pairingcodeutils, nevispairingcodedecoding, networktype, getnetworkflags, failsafearmmode, devicefeatures, weavesecuritysupportexception, weavekeyexportsupport, weavekeyexportclient, constituentkeysource, applicationkeysupport, applicationgroupglobalid, com, bluetoothprofile, bluetoothgattservice, bluetoothgattdescriptor, bluetoothgattcharacteristic, bluetoothgattcallback, bluetoothgatt, android, bluetooth, managed, address, assignment, pages, auth, trait, thermostat, vendor, locale, viewresponse, viewrequest, common, bdxprotocol, persistedstorage, logging, littleendian, bigendian, encoding, factoryprovisioningdata, deviceeventtype, pairingcode, production, development, nestcerts, token, pairing, network, fabric, device, modules, applicationkeystraitdatasink, applicationkeystrait, modulestate, actionentry, warmfabricstatedelegate, findpredicatecontext, findcontext, utilities, dumpcontext, debug, weavecirculartlvbuffer, tlvwriter, tlvupdater, tlvreader, circulartlvwriter, circulartlvreader, tlv, snapshot, objectarena, lwipevent, timer, packetbuffer, mutex, lwipeventhandlerdelegate, system, profilestringinfo, profilestringcontext, weavekeyexportsupportnative, weavekeyexportclientnative, pairingcodesupport, securitysupport, weavetunnelroute, weavetunnelheader, weavetunnelcontrol, weavetunnelconnectionmgr, weavetunnelagent, reconnectparam, weavetunnel, dropcamlegacypairingserver, dropcamlegacypairingdelegate, dropcamlegacypairing, tokenpairingserver, tokenpairingdelegate, tokenpairing, servingnode, contact, utcoffsetrecord, timezoneutcoffset, timesyncresponse, timesyncrequest, timesyncnode, timechangenotification, singlesourcetimesyncclient, _timesyncnodebase, statusreporting, weaveimageannounceserver, updateschemelist, productspec, iweaveimageannounceserverdelegate, integritytypelist, integrityspec, imagequeryresponse, imagequery, imageannounce, softwareupdate, updateservicemessage, serviceprovisioningdelegate, registerservicepairaccountmessage, pairdevicetoaccountmessage, ifjservicefabricjoinmessage, serviceprovisioning, serviceconnectbeginargs, connectrequest, weavetaketokenauthdelegate, weavetakeengine, weavetakechallengerauthdelegate, take, encryptedpasscodestruct, passcodes, weavepaseengine, pase, weavestandalonekeyexportclient, weavekeyexportdelegate, weavekeyexport, __final, keyexport, weavenodeopauthdelegate, weavenodemfrattestdelegate, weavecertprovengine, certprovisioning, weavecaseengine, weavecaseauthdelegate, reconfigurecontext, beginsessionresponsecontext, beginsessionrequestcontext, beginsessioncontext, weavegroupkey, groupkeystorebase, dummygroupkeystore, appkeys, weavesignaturegeneratorbase, weavesignaturegenerator, weaveprovisioningbundle, weavedn, weavecertificateset, weavecertificatedata, validationcontext, certificatekeyid, wirelessregdomain, wirelessregconfig, networkprovisioningdelegate, networkprovisioning, weaveheartbeatsender, weaveheartbeatreceiver, heartbeat, fabricprovisioningdelegate, fabricprovisioning, echo_next, textdescriptorwriter, textdescriptorreader, identifyresponsemessage, identifyrequestmessage, devicedescriptionclient, devicecontroldelegate, devicecontrol, publisherdatamanager, dmtransaction, profiledata, profiledatabase, dmpublisher, dmclient, subscription, clientnotifier, clientdatamanager, versionlist, updateresponse, updaterequest, subscriberesponse, subscriberequest, subscribeconfirmrequest, subscribecancelrequest, statuslist, statuselement, rejectionrecordlist, rejectionrecord, pathlist, path, notificationrequest, eventlist, event, datalist, dataelement, customcommandresponse, customcommand, basemessagewithsubscribeid, timestamp, versionedtraitpath, record, traitpathstore, traitpath, schemaversionrange, reclaimeventctx, logstorageresources, externalevents, eventschema, eventoptions, eventloadoutcontext, eventenvelopecontext, detailedrootsection, debuglogcontext, copyandadjustdeltatimecontext, constschemaversionrange, circulareventbuffer, eventparam, viewclient, updateencoder, updatedirtypathfilter, updatedictionarydirtypathcut, updateclient, traitupdatabledatasink, propertyinfo, isetdatadelegate, igetdatadelegate, traitschemaengine, traitdatasource, traitdatasink, traitcatalogbase, traitinstanceinfo, subscriptionhandler, subscriptionengine, resubscribeparam, lastobservedevent, subscriptionclient, catalogitem, singleresourcetraitcatalog, resourceidentifier, parserbase, notifyrequestbuilder, store, intermediategraphsolver, basicgraphsolver, notificationengine, loggingmanagement, loggingconfiguration, logbdxupload, listparserbase, listbuilderbase, iweavewdmmutex, iweavepublisherlock, ipathfilter, idirtypathcut, idataelementaccesscontroldelegate, generictraitcatalogimpl, synchronizedtraitstate, sendparams, commandsender, command, circulareventreader, builderbase, alwaysacceptdataelementaccesscontroldelegate, datamanagement_current, bdxdelegate, bulkdatatransfer, bdxtransfer, bdxhandlers, blocksendv1, blockqueryv1, blockeofv1, blockeofackv1, blockackv1, bdxnode, bdx_development, weavebdxdelegate, weavebdxclient, bdx_current, retainedpacketbuffer, referencedtlvdata, referencedstring, messageiterator, sha256, sha1, aes256blockcipherenc, aes256blockcipherdec, aes256blockcipher, aes128blockcipherenc, aes128blockcipherdec, aes128blockcipher, traitschemadirectory, devicestatus, wifitelemetry, weavetelemetrybase, tunneltelemetry, threadtopology, threadtelemetry, nrf5config, networktelemetrymanager, networkprovisioningserverimpl, groupkeystoreimpl, genericthreadstackmanagerimpl_openthread_lwip, genericthreadstackmanagerimpl_openthread, genericthreadstackmanagerimpl_freertos, genericsoftwareupdatemanagerimpl_bdx, genericsoftwareupdatemanagerimpl, genericconnectivitymanagerimpl_thread, genericconnectivitymanagerimpl_nowifi, genericconnectivitymanagerimpl_notunnel, genericconnectivitymanagerimpl_nothread, genericconnectivitymanagerimpl_noble, genericconnectivitymanagerimpl_ble, genericconnectivitymanagerimpl, genericconfigurationmanagerimpl, factoryprovisioningbase, factoryprovisioning, esp32utils, key, esp32config, efr32config, echoserver, devicenetworkinfo, deviceidentitytraitdatasource, blemanagerimpl, blemanager, weavedeviceplatformevent, weavedeviceevent, traitmanager, timesyncmanager, threadstackmanagerimpl, threadstackmanager, softwareupdatemanagerimpl, retryparam, softwareupdatemanager, platformmanagerimpl, platformmanager, connectivitymanagerimpl, threadpollingconfig, connectivitymanager, configurationmanagerimpl, configurationmanager, devicelayer, hmac, hkdfsha1or256, encodedrsasignature, encodedrsakey, encodedhmacsignature, encodedecpublickey, encodedecprivatekey, encodedecdsasignature, ctrmode, ctr_drbg, crypto, asn1writer, asn1universaltime, asn1reader, asn1, weaveencryptionkey, wrmpconfig, weavemessageinfo, jnilibrarymethod, weavesessionstate, weavesessionkey, weaveserverdelegatebase, weaveserverbase, weavesecuritymanager, weavemsgencryptionkeycache, weavemsgencryptionkey, initcontext, weavemessagelayer, sessionendcbctxt, weavefabricstate, weaveexchangeheader, weaveencryptionkey_aes128ctrsha1, weaveconnectiontunnel, persistedcounter, monotonicallyincreasingcounter, jniutils, hostportlist, fabricstatedelegate, counter, configuration, peersockaddr, udpendpoint, tunendpoint, tcpendpoint, socketevents, rawendpoint, ipprefix, ippacketinfo, ipendpointbasis, ipaddress, interfaceiterator, interfaceaddressiterator, inetlayerbasis, endpointbasis, dnsresolver, asyncdnsresolversockets, inet, weaveservicedata, weaveidinfo, characteristic, bluezserverendpoint, bluezperipheralargs, adapter, bluez, weavebleuuid, weavebledeviceidentificationinfo, wobletxrecord, wobletxhistogram, wobletest, woble, btcommandtypewoblemtu, btcommandtypewindowsize, btcommandtypetxtiming, btcommandtypetestresult, btcommandtypetestrequest, btcommandtypetestdata, btcommandtypeack, btcommandheader, bletransportcommandmessage, bletransportcapabilitiesresponsemessage, bletransportcapabilitiesrequestmessage, bleplatformdelegate, blelayerobject, blelayer, bleendpoint, bleapplicationdelegate, ble, optionset, optiondef, optionsetbase, helpoptions, argparser, structureschemapointerpair, serializedfieldtypeutf8string_array, serializedfieldtypeuint8_array, serializedfieldtypeuint64_array, serializedfieldtypeuint32_array, serializedfieldtypeuint16_array, serializedfieldtypeint8_array, serializedfieldtypeint64_array, serializedfieldtypeint32_array, serializedfieldtypeint16_array, serializedfieldtypefloatingpoint64_array, serializedfieldtypefloatingpoint32_array, serializedfieldtypebytestring_array, serializedfieldtypeboolean_array, serializedbytestring, serializationcontext, schemafielddescriptor, memorymanagement, fielddescriptor, errorformatter, arraylengthandbuffer, sign, skip, main,
Text of the page (random words):
cribecancelrequest overview classes builder parser subscribeconfirmrequest overview classes builder parser subscriberequest overview classes builder parser subscriberesponse overview classes builder parser updaterequest overview classes parser updateresponse overview classes builder parser versionlist overview classes builder parser datamanagement_legacy overview classes binding clientdatamanager clientnotifier overview subscription dmclient dmpublisher profiledatabase overview profiledata protocolengine overview dmtransaction publisherdatamanager devicecontrol overview classes devicecontroldelegate devicecontrolserver devicedescription overview classes devicedescriptionclient devicedescriptionserver identifydevicecriteria identifyrequestmessage identifyresponsemessage textdescriptorreader textdescriptorwriter weavedevicedescriptor echo_next overview classes weaveechoclient overview ineventparam outeventparam weaveechoserver overview ineventparam outeventparam fabricprovisioning overview classes fabricprovisioningdelegate fabricprovisioningserver heartbeat overview classes weaveheartbeatreceiver weaveheartbeatsender overview ineventparam outeventparam networkprovisioning overview classes networkinfo networkprovisioningdelegate networkprovisioningserver wirelessregconfig structs wirelessregdomain security overview classes certificatekeyid validationcontext weavecertificatedata weavecertificateset weavedn weaveprovisioningbundle weavesignaturegenerator weavesignaturegeneratorbase appkeys overview classes dummygroupkeystore groupkeystorebase weavegroupkey case overview classes beginsessioncontext beginsessionrequestcontext beginsessionresponsecontext reconfigurecontext weavecaseauthdelegate weavecaseengine certprovisioning overview classes weavecertprovengine overview ineventparam outeventparam weavenodemfrattestdelegate weavenodeopauthdelegate keyexport overview classes __final weavekeyexport weavekeyexportdelegate weavestandalonekeyexportclient pase overview classes weavepaseengine passcodes overview structs encryptedpasscodestruct take overview classes weavetakechallengerauthdelegate weavetakeengine weavetaketokenauthdelegate servicedirectory overview classes weaveservicemanager overview connectrequest structs serviceconnectbeginargs serviceprovisioning overview classes ifjservicefabricjoinmessage pairdevicetoaccountmessage registerservicepairaccountmessage serviceprovisioningdelegate serviceprovisioningserver updateservicemessage softwareupdate overview classes imageannounce imagequery imagequeryresponse integrityspec integritytypelist iweaveimageannounceserverdelegate productspec updateschemelist weaveimageannounceserver statusreporting overview classes statusreport time overview classes _timesyncnodebase singlesourcetimesyncclient timechangenotification timesyncnode timesyncrequest timesyncresponse timezoneutcoffset overview utcoffsetrecord structs contact servingnode tokenpairing overview classes tokenpairingdelegate tokenpairingserver dropcamlegacypairing overview classes dropcamlegacypairingdelegate dropcamlegacypairingserver weavetunnel overview classes reconnectparam weavetunnelagent weavetunnelconnectionmgr weavetunnelcontrol weavetunnelheader weavetunnelroute securitysupport overview classes pairingcodesupport passcodeencryptionsupport weavecertificatesupport weavekeyexportclientnative weavekeyexportsupportnative weavesecuritysupport support overview structs profilestringcontext profilestringinfo system overview classes layer lwipeventhandlerdelegate mutex object packetbuffer timer structs lwipevent unions objectarena stats overview classes snapshot tlv overview classes circulartlvreader circulartlvwriter tlvreader tlvupdater tlvwriter weavecirculartlvbuffer debug overview structs dumpcontext utilities overview structs findcontext findpredicatecontext warm overview classes warmfabricstatedelegate structs actionentry modulestate applicationkeystrait overview classes applicationkeystraitdatasink modules device control fabric provisioning network provisioning passive rendezvous remote passive rendezvous service provisioning token pairing namespaces platform platform inetlayer nestcerts development deviceca root production deviceca root pairingcode warm deviceeventtype factoryprovisioningdata encoding bigendian littleendian logging platform persistedstorage bdxprotocol common platform viewrequest viewresponse locale vendor nestlabs devicedescription thermostat platform stats platform layer platform schema weave trait auth related pages address assignment managed namespaces java android bluetooth overview bluetoothgatt bluetoothgattcallback bluetoothgattcharacteristic bluetoothgattdescriptor bluetoothgattservice bluetoothprofile com nestlabs weave security overview applicationgroupglobalid applicationkeysupport overview constituentkeysource hkdf passcodeencryptionsupport weavecertificatesupport weavekeyexportclient weavekeyexportsupport weavekeyid weavesecuritysupport weavesecuritysupportexception nl weave devicemanager overview devicefeatures failsafearmmode getnetworkflags identifydevicecriteria networkinfo networktype nevispairingcodedecoding pairingcodeutils rendezvousmode resetflags targetdevicemodes targetfabricid testmain overview testfailedexception weavedevicedescriptor weavedeviceexception weavedevicemanager overview completionhandler weavedevicemanagerexception weavestack wifimode wifirole wifisecuritytype openweave reference send feedback stay organized with collections save and categorize content based on your preferences nl weave profiles datamanagement_legacy binding include src lib profiles data management legacy binding h the binding class manages communications state on behalf of an application entity using weave summary when an application wants to use weave to communicate with a remote entity there exists a wide variety of options the binding class corrals these options and arranges them in such a way that the easy stuff is easy and the more difficult stuff is at least tractable options covered include unicast udp communication with a known peer node udp broadcast with any node unicast wrmp communication with a known peer node tcp communications with a known peer node tcp communications with a known service endpoint using a service manager instance to set things up tcp communications based on a pre established connection constructors and destructors binding void the default constructor for binding objects binding void the destructor for binding objects public types 165 kstate_incomplete 0 kstate_completing 1 kstate_complete 2 enum the set of binding object states public attributes mauthmode weaveauthmode the weave authentication mode to be used mconnection weaveconnection a pointer to the weave connection currently in use in this binding mengine protocolengine a pointer to the protocolengine object related to this binding mpeernodeid uint64_t the 64 bit node id of the binding target mservicemgr nl weave profiles servicedirectory weaveservicemanager a pointer to the optional servicemanager object to use in completing this binding mstate uint8_t the current binding object state mtransport uint8_t the transport to use in completing this binding public functions completeconfirm weaveconnection aconnection void handle confirmation of a bind request completeconfirm statusreport areport void handle the failure of a bind request completeconfirm void void handle confirmation of a bind request completerequest protocolengine aengine weave_error request completion of a binding connect weaveconnection aconnection weave_error complete a tcp binding by providing a completed connection finalize void void uncomplete a binding and free it finalize weave_error aerr void uncomplete a binding and free it free void void clear the binding state getexchangectx weaveexchangemanager aexchangemgr void aappstate exchangecontext produce an exchangecontext object from a binding incompleteindication statusreport areport void handle the failure of a binding init const uint64_t apeernodeid weave_error initialize a binding with just a node id init const uint64_t apeernodeid uint8_t atransport weave_error initialize a binding object based on peer id and transport init const uint64_t aserviceept weaveservicemanager aservicemgr weaveauthmode aauthmode weave_error initialize a binding object to a service endpoint init weaveconnection aconnection weave_error initialize a binding object with a weaveconnection iscomplete void bool check if a binding is complete isfree void bool check is a binding is free uncompleterequest void void cause a binding to be incomplete uncompleterequest weave_error aerr void cause a binding to be incomplete public types 165 165 the set of binding object states properties kstate_complete the state of a binding that is complete and ready for use kstate_completing the state of a binding that is in the process of being completed kstate_incomplete the initial and final state of a binding public attributes mauthmode weaveauthmode mauthmode the weave authentication mode to be used read_only this is the authentication mode used in all communications governed by this binding mconnection weaveconnection mconnection a pointer to the weave connection currently in use in this binding read only tcp bindings may be initialized with a connection right off the bat or they may allocate one at completion time note although it is permissible to read it is an error and could cause unexpected results to modify the value of mconnection directly mengine protocolengine mengine a pointer to the protocolengine object related to this binding a binding is generally completed with respect to a particular protocol engine which is mostly used as a way of accessing the messagelayer this is where we keep track of it mpeernodeid uint64_t mpeernodeid the 64 bit node id of the binding target read only every binding has a target entity which is named here in addition to a weave node id this may name a service endpoint mservicemgr nl weave profiles servicedirectory weaveservicemanager mservicemgr a pointer to the optional servicemanager object to use in completing this binding read only when binding to the weave service a 64 bit service endpoint id may be supplied at initialization time in place of a weave node id in this case a servicemanager object is also required to complete the binding normal tcp or wrmp bindings do not require a servicemanager object mstate uint8_t mstate the current binding object state only one complete operation can run at a time and in any case if you ask to complete a completed binding it just calls the confirm function immediately the state variable below tracks the current state and acts as a lockout mtransport uint8_t mtransport the transport to use in completing this binding read only possible values for mtransport are defined in dmconstants h public functions binding binding void the default constructor for binding objects clears all internal state completeconfirm void completeconfirm weaveconnection aconnection handle confirmation of a bind request details parameters in aconnection a pointer to an active weaveconnection to the binding target completeconfirm void completeconfirm statusreport areport handle the failure of a bind request details parameters in areport a reference to a statusreport object describing the failure completeconfirm void completeconfirm void handle confirmation of a bind request completerequest weave_error completerequest protocolengine aengine request completion of a binding completion of a binding is at least for bindings requiring tcp carried out with respect to a particular protocolengine object which provides access to an exchangemanager instance note normally applications are not required to explicitly call completerequest since the it is invoked on demand by the underlying wdm code when the application tries to make use of the binding by sending a message however if the application wants to control when for example a connection is made it may use this method details parameters in aengine a pointer to a protocolengine object on behalf of which the completion is being performed return values weave_no_error on success weave_error_incorrect_state if the binding is already being completed weave_error_no_memory if a connection is required and none are available returns otherwise any weave_error returned while trying to connect connect weave_error connect weaveconnection aconnection complete a tcp binding by providing a completed connection a newly initialized tcp binding cannot be used until it has been completed normally this is done on demand when the application attempts to make use of the binding to send messages but it can also be explicitly completed by providing a weave connection details parameters in aconnection a pointer to a weaveconnection used to complete the binding return values weave_no_error on success weave_error_incorrect_state if the binding already has a connection weave_error_invalid_argument if the connection is null finalize void finalize void uncomplete a binding and free it bindings may have state that requires cleanup e g connection closure which is handled by the uncomplete method in addition to state that is simply cleared to its initial state by the free method this method largely for the sake of convenience invokes both see also finalize weave_error finalize void finalize weave_error aerr uncomplete a binding and free it bindings may have state that requires cleanup e g connection closure which is handled by the uncomplete method in addition to state that is simply cleared to its initial state by the free method this method largely for the sake of convenience invokes both details parameters in aerr this error code indicates the cause of this request if not weave_no_error the tcp connection could be aborted see also finalize void free void free void clear the binding state unconditionally return all binding state to its original state getexchangectx exchangecontext getexchangectx weaveexchangemanager aexchangemgr void aappstate produce an exchangecontext object from a binding details parameters in aexchangemgr a pointer to the exchange manager from which to request a context in aappstate a void pointer to an application state object to be stored in the exchange context for later use returns a pointer to an exchangecontext object or null on failure incompleteindication void incompleteindication statusreport areport handle the failure of a binding this method is invoked and in turn invokes higher layer handlers when the binding fails after completion i e after completeconfirm has been invoked with a status denoting success details parameters in areport a referemce to a statusreport describing what went wrong see also completeconfirm statusreport areport init weave_error init const uint64_t apeernodeid initialize a binding with just a node id this results in a binding with the configured default transport details parameters in apeernodeid a reference to...
|