예제 #1
0
            public ViewChangeDto(ElectionMessage.ViewChange message)
            {
                ServerId = message.ServerId;
                ServerInternalHttpAddress = message.ServerInternalHttp.Address.ToString();
                ServerInternalHttpPort    = message.ServerInternalHttp.Port;

                AttemptedView = message.AttemptedView;
            }
예제 #2
0
            public ViewChangeDto(ElectionMessage.ViewChange message)
            {
                ServerId          = message.ServerId;
                ServerHttpAddress = message.ServerHttpEndPoint.GetHost();
                ServerHttpPort    = message.ServerHttpEndPoint.GetPort();

                AttemptedView = message.AttemptedView;
            }