Beispiel #1
0
 public void MergeFrom(MessageEnvelope other)
 {
     if (other == null)
     {
         return;
     }
     if (other.TypeName.Length != 0)
     {
         TypeName = other.TypeName;
     }
     if (other.MessageData.Length != 0)
     {
         MessageData = other.MessageData;
     }
     if (other.target_ != null)
     {
         if (target_ == null)
         {
             target_ = new global::Proto.PID();
         }
         Target.MergeFrom(other.Target);
     }
     if (other.sender_ != null)
     {
         if (sender_ == null)
         {
             sender_ = new global::Proto.PID();
         }
         Sender.MergeFrom(other.Sender);
     }
 }
Beispiel #2
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (who_ == null)
                    {
                        who_ = new global::Proto.PID();
                    }
                    input.ReadMessage(who_);
                    break;
                }

                case 16: {
                    AddressTerminated = input.ReadBool();
                    break;
                }
                }
            }
        }
Beispiel #3
0
 public void MergeFrom(MessageEnvelope other)
 {
     if (other == null)
     {
         return;
     }
     if (other.TypeId != 0)
     {
         TypeId = other.TypeId;
     }
     if (other.MessageData.Length != 0)
     {
         MessageData = other.MessageData;
     }
     if (other.Target != 0)
     {
         Target = other.Target;
     }
     if (other.sender_ != null)
     {
         if (sender_ == null)
         {
             sender_ = new global::Proto.PID();
         }
         Sender.MergeFrom(other.Sender);
     }
     if (other.SerializerId != 0)
     {
         SerializerId = other.SerializerId;
     }
 }
Beispiel #4
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (consumerActor_ == null)
                    {
                        consumerActor_ = new global::Proto.PID();
                    }
                    input.ReadMessage(consumerActor_);
                    break;
                }

                case 18: {
                    Type = input.ReadString();
                    break;
                }

                case 26: {
                    Topic = input.ReadString();
                    break;
                }
                }
            }
        }
Beispiel #5
0
 public void MergeFrom(pb::CodedInputStream input) {
   uint tag;
   while ((tag = input.ReadTag()) != 0) {
     switch(tag) {
       default:
         input.SkipLastField();
         break;
       case 10: {
         if (pID_ == null) {
           pID_ = new global::Proto.PID();
         }
         input.ReadMessage(pID_);
         break;
       }
       case 18: {
         MemberId = input.ReadString();
         break;
       }
       case 26: {
         kinds_.AddEntriesFrom(input, _repeated_kinds_codec);
         break;
       }
     }
   }
 }
Beispiel #6
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (subscription_ == null)
                    {
                        subscription_ = new global::vivego.PublishSubscribe.Subscription();
                    }
                    input.ReadMessage(subscription_);
                    break;
                }

                case 18: {
                    if (pID_ == null)
                    {
                        pID_ = new global::Proto.PID();
                    }
                    input.ReadMessage(pID_);
                    break;
                }
                }
            }
        }
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    if (pid_ == null)
                    {
                        pid_ = new global::Proto.PID();
                    }
                    input.ReadMessage(pid_);
                    break;
                }

                case 18: {
                    Name = input.ReadString();
                    break;
                }
                }
            }
        }
Beispiel #8
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 8: {
                    TypeId = input.ReadInt32();
                    break;
                }

                case 18: {
                    MessageData = input.ReadBytes();
                    break;
                }

                case 24: {
                    Target = input.ReadInt32();
                    break;
                }

                case 34: {
                    if (sender_ == null)
                    {
                        sender_ = new global::Proto.PID();
                    }
                    input.ReadMessage(sender_);
                    break;
                }

                case 40: {
                    SerializerId = input.ReadInt32();
                    break;
                }

                case 50: {
                    if (messageHeader_ == null)
                    {
                        messageHeader_ = new global::Proto.Remote.MessageHeader();
                    }
                    input.ReadMessage(messageHeader_);
                    break;
                }
                }
            }
        }
Beispiel #9
0
 public void MergeFrom(AddToInspection other)
 {
     if (other == null)
     {
         return;
     }
     if (other.actor_ != null)
     {
         if (actor_ == null)
         {
             actor_ = new global::Proto.PID();
         }
         Actor.MergeFrom(other.Actor);
     }
 }
Beispiel #10
0
 public void MergeFrom(Unwatch other)
 {
     if (other == null)
     {
         return;
     }
     if (other.watcher_ != null)
     {
         if (watcher_ == null)
         {
             watcher_ = new global::Proto.PID();
         }
         Watcher.MergeFrom(other.Watcher);
     }
 }
Beispiel #11
0
 public void MergeFrom(ActorPidResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.pid_ != null)
     {
         if (pid_ == null)
         {
             pid_ = new global::Proto.PID();
         }
         Pid.MergeFrom(other.Pid);
     }
 }
Beispiel #12
0
 public void MergeFrom(Node other) {
   if (other == null) {
     return;
   }
   if (other.pID_ != null) {
     if (pID_ == null) {
       pID_ = new global::Proto.PID();
     }
     PID.MergeFrom(other.PID);
   }
   if (other.MemberId.Length != 0) {
     MemberId = other.MemberId;
   }
   kinds_.Add(other.kinds_);
 }
Beispiel #13
0
 public void MergeFrom(StartRemote other)
 {
     if (other == null)
     {
         return;
     }
     if (other.sender_ != null)
     {
         if (sender_ == null)
         {
             sender_ = new global::Proto.PID();
         }
         Sender.MergeFrom(other.Sender);
     }
 }
Beispiel #14
0
 public void MergeFrom(Terminated other)
 {
     if (other == null)
     {
         return;
     }
     if (other.who_ != null)
     {
         if (who_ == null)
         {
             who_ = new global::Proto.PID();
         }
         Who.MergeFrom(other.Who);
     }
 }
Beispiel #15
0
 public void MergeFrom(ClientHostPIDResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.hostProcess_ != null)
     {
         if (hostProcess_ == null)
         {
             HostProcess = new global::Proto.PID();
         }
         HostProcess.MergeFrom(other.HostProcess);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Beispiel #16
0
 public void MergeFrom(ProxyPidResponse other)
 {
     if (other == null)
     {
         return;
     }
     if (other.proxyPID_ != null)
     {
         if (proxyPID_ == null)
         {
             ProxyPID = new global::Proto.PID();
         }
         ProxyPID.MergeFrom(other.ProxyPID);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Beispiel #17
0
 public void MergeFrom(ProxyPidRequest other)
 {
     if (other == null)
     {
         return;
     }
     if (other.clientPID_ != null)
     {
         if (clientPID_ == null)
         {
             ClientPID = new global::Proto.PID();
         }
         ClientPID.MergeFrom(other.ClientPID);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
Beispiel #18
0
 public void MergeFrom(Connect other)
 {
     if (other == null)
     {
         return;
     }
     if (other.sender_ != null)
     {
         if (sender_ == null)
         {
             sender_ = new global::Proto.PID();
         }
         Sender.MergeFrom(other.Sender);
     }
     _unknownFields = pb::UnknownFieldSet.MergeFrom(_unknownFields, other._unknownFields);
 }
 public void MergeFrom(TakeOwnership other)
 {
     if (other == null)
     {
         return;
     }
     if (other.pid_ != null)
     {
         if (pid_ == null)
         {
             pid_ = new global::Proto.PID();
         }
         Pid.MergeFrom(other.Pid);
     }
     if (other.Name.Length != 0)
     {
         Name = other.Name;
     }
 }
Beispiel #20
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    input.SkipLastField();
                    break;

                case 10: {
                    TypeName = input.ReadString();
                    break;
                }

                case 18: {
                    MessageData = input.ReadBytes();
                    break;
                }

                case 26: {
                    if (target_ == null)
                    {
                        target_ = new global::Proto.PID();
                    }
                    input.ReadMessage(target_);
                    break;
                }

                case 34: {
                    if (sender_ == null)
                    {
                        sender_ = new global::Proto.PID();
                    }
                    input.ReadMessage(sender_);
                    break;
                }
                }
            }
        }
Beispiel #21
0
        public void MergeFrom(pb::CodedInputStream input)
        {
            uint tag;

            while ((tag = input.ReadTag()) != 0)
            {
                switch (tag)
                {
                default:
                    _unknownFields = pb::UnknownFieldSet.MergeFieldFrom(_unknownFields, input);
                    break;

                case 10: {
                    if (sender_ == null)
                    {
                        sender_ = new global::Proto.PID();
                    }
                    input.ReadMessage(sender_);
                    break;
                }
                }
            }
        }
Beispiel #22
0
 public void MergeFrom(ProtoSubscription other)
 {
     if (other == null)
     {
         return;
     }
     if (other.subscription_ != null)
     {
         if (subscription_ == null)
         {
             subscription_ = new global::vivego.PublishSubscribe.Subscription();
         }
         Subscription.MergeFrom(other.Subscription);
     }
     if (other.pID_ != null)
     {
         if (pID_ == null)
         {
             pID_ = new global::Proto.PID();
         }
         PID.MergeFrom(other.PID);
     }
 }
Beispiel #23
0
 public void MergeFrom(Subscribe other)
 {
     if (other == null)
     {
         return;
     }
     if (other.consumerActor_ != null)
     {
         if (consumerActor_ == null)
         {
             consumerActor_ = new global::Proto.PID();
         }
         ConsumerActor.MergeFrom(other.ConsumerActor);
     }
     if (other.Type.Length != 0)
     {
         Type = other.Type;
     }
     if (other.Topic.Length != 0)
     {
         Topic = other.Topic;
     }
 }