File Information
Library: DNSSD/Bonjour
Package: Implementation
Header: Poco/DNSSD/Bonjour/EventLoop.h
Description
Inheritance
Direct Base Classes: Poco::Runnable
All Base Classes: Poco::Runnable
Member Summary
Member Functions: add, lock, remove, removeImpl, run, shutdown, stop, unlock
Inherited Functions: run
Types
ScopedLock
typedef Poco::ScopedLock < EventLoop > ScopedLock;
Enumerations
Anonymous
EVENTLOOP_TIMEOUT = 250
Constructors
EventLoop
EventLoop();
Creates the EventLoop.
Destructor
~EventLoop
~EventLoop();
Destroys the EventLoop.
Member Functions
add
void add(
DNSServiceRef sdRef
);
Adds the reference to the eventloop, monitoring it for data.
lock
void lock();
Locks the internal mutex.
remove
void remove(
DNSServiceRef sdRef
);
Removes and destroys the DNSServiceRef.
shutdown
void shutdown();
Cleans up and frees all DNSServiceRefs.
Must be called after the event loop thread has been stopped.
stop
void stop();
Requests to stop event loop processing.
unlock
void unlock();
Unlocks the internal mutex.
removeImpl
void removeImpl(
DNSServiceRef sdRef
);
run
void run();
See also: Poco::Runnable::run()