Previously the collector-side implementation of the worker interaction protocol was a bunch of spaghetti code. Split it apart at places where it makes sense to be easier to follow. Change-Id: If3cc6b6fbf289dd778856b40b55316c76a6a6964
Previously the collector-side implementation of the worker interaction protocol was a bunch of spaghetti code. Split it apart at places where it makes sense to be easier to follow. Change-Id: If3cc6b6fbf289dd778856b40b55316c76a6a6964