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

Public Member Functions

 AvahiWatch (int aFd, AvahiWatchEvent aEvents, AvahiWatchCallback aCallback, void *aContext, void *aPoller)
 

Public Attributes

int mFd
 The file descriptor to watch.
 
AvahiWatchEvent mEvents
 The interested events.
 
int mHappened
 The events happened.
 
AvahiWatchCallback mCallback
 The function to be called when interested events happened on mFd.
 
void * mContext
 A pointer to application-specific context.
 
void * mPoller
 The poller created this watch.
 

Constructor & Destructor Documentation

◆ AvahiWatch()

AvahiWatch::AvahiWatch ( int  aFd,
AvahiWatchEvent  aEvents,
AvahiWatchCallback  aCallback,
void *  aContext,
void *  aPoller 
)
inline

The constructor to initialize an Avahi watch.

Parameters
[in]aFdThe file descriptor to watch.
[in]aEventsThe events to watch.
[in]aCallbackThe function to be called when events happend on this file descriptor.
[in]aContextA pointer to application-specific context.
[in]aPollerThe AvahiPoller this watcher belongs to.

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