![]() |
TornadoServerMI
0.3
An tornado server for smart house's camera of IUT Blagnac
|
Public Member Functions | |
| def | open |
| def | on_message |
| def | on_close |
| def | send_signal_house |
| def | send_image |
Public Member Functions inherited from superTornado.BaseHandler | |
| def | get_current_user |
/socket in http server websocket definition
| def superTornado.WSocketHandler.on_close | ( | self | ) |
Socket connection Connection-> Alert unhabitant with the good signal
| def superTornado.WSocketHandler.on_message | ( | self, | |
| mesg | |||
| ) |
Client Ask For Image
| def superTornado.WSocketHandler.open | ( | self | ) |
Open socket request ->
if is a connect user
open connection socket, alert the unhabitant with the good signal
else
don't open connection
| def superTornado.WSocketHandler.send_image | ( | self | ) |
Allow send the image in the websocket
| def superTornado.WSocketHandler.send_signal_house | ( | self, | |
| pRq | |||
| ) |
Allow send pRq request to the house