# File lib_core/rucy/server.rb, line 29
    def initialize(rep=Repository::DEFAULT)
      @rep = rep
      @daemon = false
      @start_time = Time.now
      @restart_count = 0
      @restart_time = nil
      @open_hook = EMPTY_HOOK
      @close_hook = EMPTY_HOOK
      @accept_lock = Mutex.new
      @accept_state = :close
      @accept_thread = nil
      @socket_queue = SocketQueue.new
      reset
    end