Search.setIndex({envversion:48,filenames:["api","django_integration_configuration","index","installation","usage"],objects:{"tornado_websockets.exceptions":{EmitHandlerError:[0,1,1,""],InvalidInstanceError:[0,1,1,""],NotCallableError:[0,1,1,""],TornadoWebSocketsError:[0,1,1,""],WebSocketEventAlreadyBinded:[0,1,1,""]},"tornado_websockets.tornadowrapper":{TornadoWrapper:[0,2,1,""]},"tornado_websockets.tornadowrapper.TornadoWrapper":{add_handlers:[0,3,1,""],listen:[0,3,1,""],loop:[0,3,1,""],start_app:[0,3,1,""]},"tornado_websockets.websocket":{WebSocket:[0,2,1,""]},"tornado_websockets.websocket.WebSocket":{emit:[0,4,1,""],on:[0,4,1,""]},"tornado_websockets.websockethandler":{WebSocketHandler:[0,2,1,""]},"tornado_websockets.websockethandler.WebSocketHandler":{emit:[0,4,1,""],initialize:[0,4,1,""],on_close:[0,4,1,""],on_message:[0,4,1,""]},tornado_websockets:{exceptions:[0,0,0,"-"],tornadowrapper:[0,0,0,"-"],websocket:[0,0,0,"-"],websockethandler:[0,0,0,"-"]}},objnames:{"0":["py","module","Python module"],"1":["py","exception","Python exception"],"2":["py","class","Python class"],"3":["py","classmethod","Python class method"],"4":["py","method","Python method"]},objtypes:{"0":"py:module","1":"py:exception","2":"py:class","3":"py:classmethod","4":"py:method"},terms:{"\u30fe":2,"__init__":[1,4],"__name__":0,"catch":4,"class":[0,4],"default":1,"function":[0,4],"import":[1,4],"int":0,"new":[1,4],"return":[0,2],"true":[0,1],"try":[0,2],about:[0,1],access:0,actual:[0,2],actual_inst:0,add:[0,1,4],add_handl:0,add_to_handl:0,all:[0,4],alpha:2,alreadi:[0,1,2,3],also:1,anoth:1,apach:[1,2],app:[0,1],appear:[0,4],applic:[0,1,2,4],aspect:1,associ:0,attribut:0,automat:[],autoreload:1,base:0,base_dir:1,becaus:4,befor:[1,4],between:[0,1],bind:0,bit:[1,2],browser:2,call:[0,4],callabl:0,callback:0,can:[1,2,4],classmethod:0,client:[],clone:3,close:0,code:0,com:3,combinaison:0,command:[0,4],configur:[],connect:[0,4],contain:4,context:4,convert:0,creat:[],custom:1,data:[0,4],debug:1,decor:[0,4],def:[0,4],defin:[0,1,2,4],delet:0,deliv:2,determin:0,develop:[1,4],diagram:2,dict:0,dictionari:[0,1,4],dictionnari:0,directli:0,displai:0,django:[],django_app:1,document:[],due:4,dure:1,easi:[2,4],easili:1,element:1,emit:[],emithandlererror:0,end:1,equival:4,event:[],everywher:0,exampl:[0,1,2,4],execut:0,exist:0,expect:0,expected_instance_nam:0,explain:2,fals:[],first:4,forget:4,forgot:2,from:[0,4],get:4,git:3,github:3,given:0,gui:4,gunicorn:[1,2],handl:[0,2],handler:[0,1,2,4],have:[0,2],hei:4,http:[0,3],httpserver:1,implement:4,incom:[0,2,4],inform:4,initi:0,insid:0,instal:[],installed_app:[1,4],instanc:[0,4],instanti:0,instead:0,invalidinstanceerror:0,investig:0,itself:4,javascript:4,job:2,join:[1,4],json:0,just:4,know:4,kocal:3,kwarg:0,last:1,let:[0,2,4],librari:4,like:1,link:[0,1],list:[0,1,4],listen:[],look:4,loop:[0,1],main:[0,1],make:[0,1,2,4],manag:[0,4],manual:[],mayb:4,messag:[0,4],method:[0,4],more:1,my_ev:[0,4],my_other_ev:4,my_w:4,myclass:4,myparti:4,name:[0,4],namespac:0,need:[1,4],nginx:[1,2],non:0,none:[0,4],notcallableerror:0,object:[0,4],obtain:4,offenc:0,offici:4,on_clos:0,on_messag:0,onli:4,organis:4,otherwis:[0,2,4],our:2,own:1,paramet:[0,4],parti:4,pass:[1,2],path:1,phase:1,pip:3,place:0,pleas:[0,3],port:[0,1],prefer:4,print:[0,4],probabl:2,provid:[1,2,4],python:[3,4],rais:0,read:[0,1],realli:0,receiv:0,receive_cli:4,replac:1,repo:3,repres:0,request:[0,2],respons:2,retard:2,robert:4,rout:[0,1],row:1,run:[],runtornado:[0,4],sai:4,said:4,same:4,section:[0,3,4],see:[0,3],self:4,send:0,sent:4,server:[],set:[],setup:3,should:[0,1,2,4],side:[],sinc:[1,2],socket:[0,4],solut:[2,4],sourc:0,specif:[1,4],start:0,start_app:0,static_root:1,static_url:1,staticfilehandl:1,still:1,str:0,string:0,support:[],take:4,taken:0,thi:[0,1,2,3,4],thing:0,think:2,thrown:0,time:4,timestamp:4,tornado:[],tornado_handl:0,tornado_port:0,tornado_set:0,tornado_websocket:[0,1,4],tornadowebsocketserror:0,tupl:[0,1],two:4,type:0,under:0,uniqu:4,url:[0,4],usag:[],useless:2,user:[0,4],user_join:4,uwsgi:[1,2],valu:4,variou:1,version:2,view:4,wai:[0,2],wait:2,want:4,web:[0,1,2],websocketclosederror:0,websocketeventalreadybind:0,websockethandlerwrapp:4,welcom:4,what:4,when:[0,4],where:[0,1,2,4],which:[0,1],who:4,wild:4,wildcard:1,without:0,work:[1,2,3],wrap:2,wrapper:[0,4],write:4,write_messag:0,wrong:4,wsgi:[1,2],wsgicontain:1,wy_w:4,you:[0,1,2,4],your:[0,1,4],your_url:4,your_websocket:4},titles:["4. API","2. Django integration and configuration","Django-tornado-websockets&#8217;s documentation","1. Installation","3. Usage"],titleterms:{"static":1,addit:1,api:0,architectur:2,automat:3,basic:1,client:4,configur:1,creat:4,django:[1,2],document:2,emit:4,event:4,except:0,file:1,instal:3,integr:1,listen:4,manual:3,run:4,server:4,set:1,side:4,support:1,todo:[0,4],tornado:[2,4],tornadowrapp:0,usag:4,websocket:[0,2,4],websockethandl:0}})