Пример #1
0
        public void CopyFrom(server_address from)
        {
            if (from == this)
            {
                return;
            }

            Clear();
            MergeFrom(from);
        }
Пример #2
0
        public void MergeFrom(server_address from)
        {
            if (from == this)
            {
                return;
            }

            // domain
            SetDomain(from.GetDomain());
            // port
            SetPort(from.GetPort());
        }
Пример #3
0
 public void SetAssignedLsAddr(server_address value)
 {
     assignedLsAddr_ = value;
 }
Пример #4
0
 public server_address(server_address from)
 {
     MergeFrom(from);
 }