Constructor

This constructor is recommended to use with ready().

Sergeant( client_addr, sim, ignores )

Params:

  • client_addr: tuple, represent the program side address, format as (address, port)
  • sim: the reference to the simulation that the sergeant should watch for

Return:

A new sergeant instance

sergeant = Sergeant(client_addr=('localhost', 33333),
                    sim=myhome).ready()