def __enter__(self): rrcParameters = self.config.getValue("rrc") maxRrcConnectionSetupAttempts, rrcConnectionSetupTimeout = \ [rrcParameters[k] for k in "maxRrcConnectionSetupAttempts", "rrcConnectionSetupTimeout"] self.rrcConnectionEstablishmentProcedureHandler = \ RrcConnectionEstablishmentProcedureHandler( maxRrcConnectionSetupAttempts, rrcConnectionSetupTimeout, self.ioService, self.__onNewRrcConnectionEstablishment__) self.mmeAddress = self.config.getValue("mme.address") self.enbUeS1apIdGenerator = idGenerator(2**24) self.uePool = self.UePool()