.TH "superTornado.WSocketHandler" 3 "Wed Apr 2 2014" "Version 1.0" "MI Protect Privacy" \" -*- nroff -*-
.ad l
.nh
.SH NAME
superTornado.WSocketHandler \-
.SH SYNOPSIS
.br
.PP
Inherits \fBsuperTornado\&.BaseHandler\fP, and WebSocketHandler\&.
.SS "Public Member Functions"
.in +1c
.ti -1c
.RI "def \fBopen\fP"
.RI "def \fBon_message\fP"
.RI "def \fBon_close\fP"
.RI "def \fBsend_signal_house\fP"
.RI "def \fBsend_image\fP"
.in -1c
.SH "Detailed Description"
.nf
/socket in http server
websocket definition
.fi
.SH "Member Function Documentation"
.SS "def superTornado\&.WSocketHandler\&.on_close (self)"
Socket connection Connection
Alert unhabitant with the good signal
.SS "def superTornado\&.WSocketHandler\&.on_message (self, msg)"
Client Ask For Image
.SS "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
.SS "def superTornado\&.WSocketHandler\&.send_image (self)"
Allow send the image in the websocket
.SS "def superTornado\&.WSocketHandler\&.send_signal_house (self, pRq)"
Allow send pRq request to the house
.SH "Author"
Generated automatically by Doxygen for MI Protect Privacy from the source code\&.