def __init__(
            self, zerg_socket, zerg_die_on_idle=None, vassals_home=None,
            zerg_count=None, vassal_overload_sos_interval=None, vassal_queue_items_sos=None,
            section_emperor=None, section_zerg=None):
        """
        :param str|unicode zerg_socket: Unix socket to bind server to.

        :param int zerg_die_on_idle: A number of seconds after which an idle zerg will be destroyed.

        :param str|unicode|list[str|unicode] vassals_home: Set vassals home.

        :param int zerg_count: Maximum number of zergs to spawn.

        :param int vassal_overload_sos_interval: Ask emperor for reinforcement when overloaded.
            Accepts the number of seconds to wait between asking for a new reinforcements.

        :param int vassal_queue_items_sos: Ask emperor for sos if backlog queue has more
            items than the value specified
        """

        self.socket = zerg_socket
        self.vassals_home = vassals_home
        self.die_on_idle = zerg_die_on_idle
        self.broodlord_params = filter_locals(
            locals(), include=[
                'zerg_count',
                'vassal_overload_sos_interval',
                'vassal_queue_items_sos',
            ])

        section_emperor = section_emperor or Section()
        section_zerg = section_zerg or Section.derive_from(section_emperor)

        self.section_emperor = section_emperor
        self.section_zerg = section_zerg
def __init__ ( self , zerg_socket , zerg_die_on_idle = None , vassals_home = None , zerg_count = None , vassal_overload_sos_interval = None , vassal_queue_items_sos = None , section_emperor = None , section_zerg = None ) : self . socket = zerg_socket self . vassals_home = vassals_home self . die_on_idle = zerg_die_on_idle self . broodlord_params = filter_locals ( locals ( ) , include = [ 'zerg_count' , 'vassal_overload_sos_interval' , 'vassal_queue_items_sos' , ] ) section_emperor = section_emperor or Section ( ) section_zerg = section_zerg or Section . derive_from ( section_emperor ) self . section_emperor = section_emperor self . section_zerg = section_zerg
:param str|unicode zerg_socket: Unix socket to bind server to.

        :param int zerg_die_on_idle: A number of seconds after which an idle zerg will be destroyed.

        :param str|unicode|list[str|unicode] vassals_home: Set vassals home.

        :param int zerg_count: Maximum number of zergs to spawn.

        :param int vassal_overload_sos_interval: Ask emperor for reinforcement when overloaded.
            Accepts the number of seconds to wait between asking for a new reinforcements.

        :param int vassal_queue_items_sos: Ask emperor for sos if backlog queue has more
            items than the value specified