Event codes list. 1 -> tell workerpool to switch this queue to another worker. 2 -> this worker is stopped, removes this worker from the list, and creates a new one.