class WeaveExchangeManager

Defined at line 397 of file x64-shared/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_t peerPort, InterfaceId sendIntfId, void * appState)
ExchangeContext * NewContext (WeaveConnection * con, void * appState)
ExchangeContext * FindContext (uint64_t peerNodeId, WeaveConnection * con, void * appState, bool isInitiator)
Binding * NewBinding (Binding::EventCallback eventCallback, void * appState)
WEAVE_ERROR RegisterUnsolicitedMessageHandler (uint32_t profileId, ExchangeContext::MessageReceiveFunct handler, void * appState)
WEAVE_ERROR RegisterUnsolicitedMessageHandler (uint32_t profileId, ExchangeContext::MessageReceiveFunct handler, bool allowDups, void * appState)
WEAVE_ERROR RegisterUnsolicitedMessageHandler (uint32_t profileId, uint8_t msgType, ExchangeContext::MessageReceiveFunct handler, void * appState)
WEAVE_ERROR RegisterUnsolicitedMessageHandler (uint32_t profileId, uint8_t msgType, ExchangeContext::MessageReceiveFunct handler, bool allowDups, void * appState)
WEAVE_ERROR RegisterUnsolicitedMessageHandler (uint32_t profileId, uint8_t msgType, WeaveConnection * con, ExchangeContext::MessageReceiveFunct handler, void * appState)
WEAVE_ERROR RegisterUnsolicitedMessageHandler (uint32_t profileId, uint8_t msgType, WeaveConnection * con, ExchangeContext::MessageReceiveFunct handler, bool allowDups, void * appState)
WEAVE_ERROR UnregisterUnsolicitedMessageHandler (uint32_t profileId)
WEAVE_ERROR UnregisterUnsolicitedMessageHandler (uint32_t profileId, uint8_t msgType)
WEAVE_ERROR UnregisterUnsolicitedMessageHandler (uint32_t profileId, uint8_t msgType, WeaveConnection * con)
void AllowUnsolicitedMessages (WeaveConnection * con)
void ClearMsgCounterSyncReq (uint64_t peerNodeId)

Enumerations

enum State
Name Value
kState_NotInitialized 0
kState_Initialized 1

Defined at line 407 of file x64-shared/gen/third_party/openweave-core/src/include/Weave/Core/WeaveExchangeMgr.h

Friends

class WeaveFabricState
class WeaveSecurityManager
class WeaveConnection
class WeaveMessageLayer
class ExchangeContext
class Binding