nl:: Weave:: Profiles:: SoftwareUpdate:: WeaveImageAnnounceServer
#include <src/lib/profiles/software-update/WeaveImageAnnounceServer.h>
Server that listens for Weave image announcements.
Summary
WeaveImageAnnounce server captures incoming image announcements and notifies its delegate when one has been received.
Constructors and Destructors |
|
---|---|
WeaveImageAnnounceServer(void)
Constructor.
|
Public functions |
|
---|---|
Init(WeaveExchangeManager *exchangeManager, IWeaveImageAnnounceServerDelegate *delegate)
|
Initializer.
|
SetDelegate(IWeaveImageAnnounceServerDelegate *delegate)
|
void
Delegate setter.
|
Public functions
Init
WEAVE_ERROR Init( WeaveExchangeManager *exchangeManager, IWeaveImageAnnounceServerDelegate *delegate )
Initializer.
Initializer function where server registers to receive Image Announce messages.
Details | |||||
---|---|---|---|---|---|
Parameters |
|
||||
Returns |
WEAVE_NO_ERROR on success, descriptive WEAVE_ERROR value otherwise
|
WeaveImageAnnounceServer
WeaveImageAnnounceServer( void )
Constructor.