public WorkerHandshakeResponseDto(WorkerConnectionIdentity identity) { WorkerId = identity.WorkerId; Hostname = identity.Hostname; ProcessId = identity.ProcessId; Labels = identity.Labels; }
public BeatRequestDto(WorkerConnectionIdentity identity) => WorkerId = identity.WorkerId;