public void UpdateFromCommand(Information message) { UpdateFrom(message.NamedFlags); Summarize(); }
private void EnrichInformationMessage(Information message) { if (message.IpAddressV4.IsDefined && message.IpAddressV4.Value == AnyIPv4) { message.IpAddressV4.Value = ClientIPv4.ToString(); } if (message.IpAddressV6.IsDefined && message.IpAddressV6.Value == AnyIPv6) { message.IpAddressV6.Value = ClientIPv6.ToString(); } }
public async Task UpdateInformation(Information message) { Information.UpdateFromCommand(message); await SaveInformationAndUpdateCatalog(); }
private static Information CreateHubInformation() { var information = new Information(InformationMessageHeader); information.ClientType.Value = Information.ClientTypes.Hub; information.Nickname.Value = "ServiceFabricAdcHub"; information.Description.Value = "Service Fabric ADC Hub"; information.Features.Value = new HashSet<string>(Features); return information; }