public ViewChangeDto(ElectionMessage.ViewChange message) { ServerId = message.ServerId; ServerInternalHttpAddress = message.ServerInternalHttp.Address.ToString(); ServerInternalHttpPort = message.ServerInternalHttp.Port; AttemptedView = message.AttemptedView; }
public ViewChangeDto(ElectionMessage.ViewChange message) { ServerId = message.ServerId; ServerHttpAddress = message.ServerHttpEndPoint.GetHost(); ServerHttpPort = message.ServerHttpEndPoint.GetPort(); AttemptedView = message.AttemptedView; }