original_docstring:  
              reset the server datastructure.
  
              depending on propagate/level, substructures (i.e. channels)
              are also reset, or completely removed.
  
              This method does not alter self.state - an explicit extra call
              to setState is required for this.
  
              Levels:
  
              0           clear all structures
              1           mark object as INACTIVE / DISCONNECTED / whatever
          
docstring: reset the server datastructure.
  depending on propagate/level, substructures
  are also reset, or completely removed.
  
  This method does not alter self.state - an explicit extra call
  to setState is required for this.
  
  
  
  0           clear all structures
  1           mark object as INACTIVE / DISCONNECTED / whatever
docstring_tokens: reset the server datastructure . depending on propagate / level substructures are also reset or completely removed . This method does not alter self . state - an explicit extra call to setState is required for this . 0 clear all structures 1 mark object as INACTIVE / DISCONNECTED / whatever
code: def reset(self, propagate=1, level=1):
          """ 
              reset the server datastructure.
  
              depending on propagate/level, substructures (i.e. channels)
              are also reset, or completely removed.
  
              This method does not alter self.state - an explicit extra call
              to setState is required for this.
  
              Levels:
  
              0           clear all structures
              1           mark object as INACTIVE / DISCONNECTED / whatever
          """
          modesupport.reset(self, propagate, level)
          if propagate:
              for i in self.channels.values() + self.users.values():
                  i.reset(propagate, level)
          self.notifies.reset(propagate, level)
          if level > 0:
              self.setState(server.STATE_NOTCONNECTED)
code_tokens: def reset ( self , propagate = 1 , level = 1 ) : modesupport . reset ( self , propagate , level ) if propagate : for i in self . channels . values ( ) + self . users . values ( ) : i . reset ( propagate , level ) self . notifies . reset ( propagate , level ) if level > 0 : self . setState ( server . STATE_NOTCONNECTED )
short_docstring: reset the server datastructure.
short_docstring_tokens: reset the server datastructure .
comment: """ 
              reset the server datastructure.
  
              depending on propagate/level, substructures (i.e. channels)
              are also reset, or completely removed.
  
              This method does not alter self.state - an explicit extra call
              to setState is required for this.
  
              Levels:
  
              0           clear all structures
              1           mark object as INACTIVE / DISCONNECTED / whatever
          """