class WeaveExchangeManager
Defined at line 397 of file gen/third_party/openweave-core/src/include/Weave/Core/WeaveExchangeMgr.h
This class is used to manage ExchangeContexts with other Weave nodes.
It works on behalf of higher layers, creating ExchangeContexts and
handling the registration/unregistration of unsolicited message handlers.
Public Members
WeaveMessageLayer * MessageLayer
WeaveFabricState * FabricState
uint8_t State
Public Methods
void WeaveExchangeManager ()
WEAVE_ERROR Init (WeaveMessageLayer * msgLayer)
WEAVE_ERROR Shutdown ()
ExchangeContext * NewContext (const uint64_t & peerNodeId, void * appState)
ExchangeContext * NewContext (const uint64_t &peerNodeId,const IPAddress &peerAddr,void *appState)
ExchangeContext * NewContext (const uint64_t &peerNodeId,const IPAddress &peerAddr,uint16_tpeerPort,InterfaceIdsendIntfId,void *appState)
ExchangeContext * NewContext (WeaveConnection * con, void * appState)
ExchangeContext * FindContext (uint64_tpeerNodeId,WeaveConnection *con,void *appState,boolisInitiator)
Binding * NewBinding (Binding::EventCallback eventCallback, void * appState)
WEAVE_ERROR RegisterUnsolicitedMessageHandler (uint32_tprofileId,ExchangeContext::MessageReceiveFuncthandler,void *appState)
WEAVE_ERROR RegisterUnsolicitedMessageHandler (uint32_tprofileId,ExchangeContext::MessageReceiveFuncthandler,boolallowDups,void *appState)
WEAVE_ERROR RegisterUnsolicitedMessageHandler (uint32_tprofileId,uint8_tmsgType,ExchangeContext::MessageReceiveFuncthandler,void *appState)
WEAVE_ERROR RegisterUnsolicitedMessageHandler (uint32_tprofileId,uint8_tmsgType,ExchangeContext::MessageReceiveFuncthandler,boolallowDups,void *appState)
WEAVE_ERROR RegisterUnsolicitedMessageHandler (uint32_tprofileId,uint8_tmsgType,WeaveConnection *con,ExchangeContext::MessageReceiveFuncthandler,void *appState)
WEAVE_ERROR RegisterUnsolicitedMessageHandler (uint32_tprofileId,uint8_tmsgType,WeaveConnection *con,ExchangeContext::MessageReceiveFuncthandler,boolallowDups,void *appState)
WEAVE_ERROR UnregisterUnsolicitedMessageHandler (uint32_t profileId)
WEAVE_ERROR UnregisterUnsolicitedMessageHandler (uint32_t profileId, uint8_t msgType)
WEAVE_ERROR UnregisterUnsolicitedMessageHandler (uint32_tprofileId,uint8_tmsgType,WeaveConnection *con)
void AllowUnsolicitedMessages (WeaveConnection * con)
void ClearMsgCounterSyncReq (uint64_t peerNodeId)
Enumerations
enum State
| Name | Value | Comments |
|---|---|---|
| kState_NotInitialized | 0 |
Used to indicate that the WeaveExchangeManager is not initialized |
| kState_Initialized | 1 |
Used to indicate that the WeaveExchangeManager is initialized |
Defined at line 407 of file gen/third_party/openweave-core/src/include/Weave/Core/WeaveExchangeMgr.h
Friends
class WeaveFabricState
class WeaveSecurityManager
class WeaveConnection
class WeaveMessageLayer
class ExchangeContext
class Binding