Interface EventDriver
Interface for all evented I/O implementations
Methods
Name | Description |
---|---|
connectTCP
|
Establiches a tcp connection on the specified host /port .
|
createManualEvent
|
Creates a new manually triggered event. |
createTimer
|
Creates a new timer. |
exitEventLoop
|
Exits any running event loop. |
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.
|
openFile
|
Opens a file on disk with the speficied file mode .
|
processEvents
|
Processes all outstanding events if any, does not block. |
resolveHost
|
Resolves the given host name or IP address string.
|
runEventLoop
|
Starts the event loop. |
runEventLoopOnce
|
|
watchDirectory
|
Starts watching a directory for changes. |
Aliases
Name | Description |
---|---|
connectTcp
|
Deprecated compatibility alias |
createSignal
|
Deprecated compatibility alias |
listenTcp
|
Deprecated compatibility alias |
listenUdp
|
Deprecated compatibility alias |
Authors
Sönke Ludwig
Copyright
© 2012-2013 RejectedSoftware e.K.
License
Subject to the terms of the MIT license, as written in the included LICENSE.txt file.