src/mdns/mdns_avahi.hpp
AvahiWatch(int aFd, AvahiWatchEvent aEvents, AvahiWatchCallback aCallback, void *aContext, void *aPoller)
        : mFd(aFd)
        , mEvents(aEvents)
        , mCallback(aCallback)
        , mContext(aContext)
        , mPoller(aPoller)
    {
    }
/**
     * The constructor to initialize an Avahi watch.
     *
     * @param[in] aFd        The file descriptor to watch.
     * @param[in] aEvents    The events to watch.
     * @param[in] aCallback  The function to be called when events happend on this file descriptor.
     * @param[in] aContext   A pointer to application-specific context.
     * @param[in] aPoller    The Poller this watcher belongs to.
     *
     */
The constructor to initialize an Avahi watch.
@param[in] aFd        The file descriptor to watch.
@param[in] aEvents    The events to watch.
@param[in] aCallback  The function to be called when events happend on this file descriptor.
@param[in] aContext   A pointer to application-specific context.
@param[in] aPoller    The Poller this watcher belongs to.
The constructor to initialize an Avahi watch . @param [ in ] aFd The file descriptor to watch . @param [ in ] aEvents The events to watch . @param [ in ] aCallback The function to be called when events happend on this file descriptor . @param [ in ] aContext A pointer to application - specific context . @param [ in ] aPoller The Poller this watcher belongs to .
AvahiWatch(int aFd, AvahiWatchEvent aEvents, AvahiWatchCallback aCallback, void *aContext, void *aPoller)
        : mFd(aFd)
        , mEvents(aEvents)
        , mCallback(aCallback)
        , mContext(aContext)
        , mPoller(aPoller)
    {
    }
AvahiWatch ( int aFd , AvahiWatchEvent aEvents , AvahiWatchCallback aCallback , void * aContext , void * aPoller ) : mFd ( aFd ) , mEvents ( aEvents ) , mCallback ( aCallback ) , mContext ( aContext ) , mPoller ( aPoller ) { }
The constructor to initialize an Avahi watch.
The constructor to initialize an Avahi watch .