openthread-br  0.3.0-72c0388
Public Member Functions | Public Attributes | List of all members
AvahiTimeout Struct Reference

Public Member Functions

 AvahiTimeout (const struct timeval *aTimeout, AvahiTimeoutCallback aCallback, void *aContext, void *aPoller)
 

Public Attributes

otbr::Timepoint mTimeout
 Absolute time when this timer timeout.
 
AvahiTimeoutCallback mCallback
 The function to be called when timeout.
 
void * mContext
 The pointer to application-specific context.
 
void * mPoller
 The poller created this timer.
 

Detailed Description

This structure implements the AvahiTimeout.

Constructor & Destructor Documentation

◆ AvahiTimeout()

AvahiTimeout::AvahiTimeout ( const struct timeval *  aTimeout,
AvahiTimeoutCallback  aCallback,
void *  aContext,
void *  aPoller 
)
inline

The constructor to initialize an AvahiTimeout.

Parameters
[in]aTimeoutA pointer to the time after which the callback should be called.
[in]aCallbackThe function to be called after timeout.
[in]aContextA pointer to application-specific context.
[in]aPollerThe AvahiPoller this timeout belongs to.

The documentation for this struct was generated from the following file: