IntelliHome::Workers::SocketAsync - IntelliHome/Google-at-Home GitHub Wiki
NAME
IntelliHome::Workers::SocketAsync - it represent a non blocking socket
DESCRIPTION
This Object represent a listening socket with a defined Worker to pass the socket response to be processed
METHODS
-
launch()
Start listening
ATTRIBUTES
-
Worker()
The defined worker that will be called on receiving a connection,
process()
would be called on that object with the socket as argument