Handler protocol definition for swarm handler