Esempio n. 1
0
 def __init__(self, *args, **kwargs):
     BaseNamespace.__init__(self, *args, **kwargs)
     BroadcastMixin.__init__(self)
     try:
         self.storage = self.request.root.storage
     except:
         self.request.root.storage = {}
         self.storage = self.request.root.storage
     for var in ['user', 'channel']:
         if not var in self.storage:
             self.storage[var] = {}
Esempio n. 2
0
 def __init__(self, context, env, *args, **kwargs):
     BaseNamespace.__init__(self, env, *args, **kwargs)
     BroadcastMixin.__init__(self)
     self.context = context
     self.env = env
     self.gate = None
Esempio n. 3
0
 def __init__(self, context, env, *args, **kwargs):
     BaseNamespace.__init__(self, env, *args, **kwargs)
     BroadcastMixin.__init__(self)
     self.context = context
     self.env = env
     self.gate = None
Esempio n. 4
0
 def __init__(self, *args, **kwargs):
     BaseNamespace.__init__(self, *args, **kwargs)
     BroadcastMixin.__init__(self)
     self.disconnected = False
Esempio n. 5
0
 def __init__(self, *args, **kwargs):
     BaseNamespace.__init__(self, *args, **kwargs)
     BroadcastMixin.__init__(self)
     self.disconnected = False