Beispiel #1
0
 public LeaderIsResigningDto(ElectionMessage.LeaderIsResigning message)
 {
     LeaderId          = message.LeaderId;
     LeaderHttpAddress = message.LeaderHttpEndPoint.GetHost();
     LeaderHttpPort    = message.LeaderHttpEndPoint.GetPort();
 }
 public LeaderIsResigningDto(ElectionMessage.LeaderIsResigning message)
 {
     LeaderId = message.LeaderId;
     LeaderInternalHttpAddress = message.LeaderInternalHttp.Address.ToString();
     LeaderInternalHttpPort    = message.LeaderInternalHttp.Port;
 }