Interface EventDriver

Interface for all evented I/O implementations

Methods

Method name Description
runEventLoop Starts the event loop.
runEventLoopOnce
processEvents Processes all outstanding events if any, does not block.
exitEventLoop Exits any running event loop.
openFile Opens a file on disk with the speficied file mode.
watchDirectory Starts watching a directory for changes.
resolveHost Resolves the given host name or IP address string.
connectTcp Establiches a tcp connection on the specified host/port.
listenTcp Listens on the specified port and interface for TCP connections.
listenUdp Creates a new UDP socket and sets the specified address/port as the destination for packets.
createSignal Creates a new signal (a single-threaded condition variable).
createTimer Creates a new timer.

Authors

Sönke Ludwig

Copyright

© 2012 RejectedSoftware e.K.

License

Subject to the terms of the MIT license, as written in the included LICENSE.txt file.