Ejemplo n.º 1
0
 public override void OnReceiveHLAupdateAttributeValuesReliable(HLAupdateAttributeValuesReliableMessage msg)
 {
     if (log.IsDebugEnabled)
     {
         log.Debug("[" + federationName + "] Received HLAupdateAttributeValuesReliableMessage =  " + msg.ToString());
     }
 }
 ///<summary> Reads this HLAupdateAttributeValuesReliableMessage from the specified stream.</summary>
 ///<param name="reader"> the input stream to read from</param>
 ///<returns> the object</returns>
 ///<exception cref="System.IO.IOException"> if an error occurs</exception>
 public override object Deserialize(HlaEncodingReader reader, ref object msg)
 {
     HLAupdateAttributeValuesReliableMessage decodedValue;
     if (!(msg is HLAupdateAttributeValuesReliableMessage))
     {
         decodedValue = new HLAupdateAttributeValuesReliableMessage();
         BaseInteractionMessage baseMsg = msg as BaseInteractionMessage;
         decodedValue.CopyTo(baseMsg);
         //decodedValue.InteractionClassHandle = baseMsg.InteractionClassHandle;
         //decodedValue.FederationExecutionHandle = baseMsg.FederationExecutionHandle;
         //decodedValue.UserSuppliedTag = baseMsg.UserSuppliedTag;
     }
     else
     {
         decodedValue = msg as HLAupdateAttributeValuesReliableMessage;
     }
     object tmp = decodedValue;
     decodedValue = base.Deserialize(reader, ref tmp) as HLAupdateAttributeValuesReliableMessage;
     return decodedValue;
 }
Ejemplo n.º 3
0
        ///<summary> Reads this HLAupdateAttributeValuesReliableMessage from the specified stream.</summary>
        ///<param name="reader"> the input stream to read from</param>
        ///<returns> the object</returns>
        ///<exception cref="System.IO.IOException"> if an error occurs</exception>
        public override object Deserialize(HlaEncodingReader reader, ref object msg)
        {
            HLAupdateAttributeValuesReliableMessage decodedValue;

            if (!(msg is HLAupdateAttributeValuesReliableMessage))
            {
                decodedValue = new HLAupdateAttributeValuesReliableMessage();
                BaseInteractionMessage baseMsg = msg as BaseInteractionMessage;
                decodedValue.CopyTo(baseMsg);
                //decodedValue.InteractionClassHandle = baseMsg.InteractionClassHandle;
                //decodedValue.FederationExecutionHandle = baseMsg.FederationExecutionHandle;
                //decodedValue.UserSuppliedTag = baseMsg.UserSuppliedTag;
            }
            else
            {
                decodedValue = msg as HLAupdateAttributeValuesReliableMessage;
            }
            object tmp = decodedValue;

            decodedValue = base.Deserialize(reader, ref tmp) as HLAupdateAttributeValuesReliableMessage;
            return(decodedValue);
        }
        public override void OnReceiveHLAupdateAttributeValuesReliable(HLAupdateAttributeValuesReliableMessage msg)
        {
            base.OnReceiveHLAupdateAttributeValuesReliable(msg);

            AddCallbackUpdateAttributeValues(msg.AttributeHandleValuePairList, msg.ObjectInstanceHandle, msg.UserSuppliedTag, 0, 0, null);
        }
        public override void OnReceiveHLAupdateAttributeValuesReliable(HLAupdateAttributeValuesReliableMessage msg)
        {
            base.OnReceiveHLAupdateAttributeValuesReliable(msg);

            ProcessHLAupdateAttributeValuesMetafederation(msg);
        }
 public override void OnReceiveHLAupdateAttributeValuesReliable(HLAupdateAttributeValuesReliableMessage msg)
 {
     if (log.IsDebugEnabled)
         log.Debug("[" + federationName + "] Received HLAupdateAttributeValuesReliableMessage =  " + msg.ToString());
 }
 ///<summary>
 ///Updates a set of attribute values with reliable transportation and
 ///receive ordering. 
 ///</summary>
 ///<param name="msg"> the message associated with the interaction</param>
 ///<exception cref="InteractionClassNotRecognized"> if the interaction class was not recognized</exception>
 ///<exception cref="InteractionParameterNotRecognized"> if a parameter of the interaction was not
 /// recognized</exception>
 ///<exception cref="InteractionClassNotSubscribed"> if the federate had not subscribed to the
 /// interaction class</exception>
 ///<exception cref="FederateInternalError"> if an error occurs in the federate</exception>
 public abstract void OnReceiveHLAupdateAttributeValuesReliable(HLAupdateAttributeValuesReliableMessage msg);
Ejemplo n.º 8
0
        public override void OnReceiveHLAupdateAttributeValuesReliable(HLAupdateAttributeValuesReliableMessage msg)
        {
            base.OnReceiveHLAupdateAttributeValuesReliable(msg);

            ProcessHLAupdateAttributeValuesMetafederation(msg);
        }
Ejemplo n.º 9
0
        public override void OnReceiveHLAupdateAttributeValuesReliable(HLAupdateAttributeValuesReliableMessage msg)
        {
            base.OnReceiveHLAupdateAttributeValuesReliable(msg);

            AddCallbackUpdateAttributeValues(msg.AttributeHandleValuePairList, msg.ObjectInstanceHandle, msg.UserSuppliedTag, 0, 0, null);
        }
Ejemplo n.º 10
0
 ///<summary>
 ///Updates a set of attribute values with reliable transportation and
 ///receive ordering.
 ///</summary>
 ///<param name="msg"> the message associated with the interaction</param>
 ///<exception cref="InteractionClassNotRecognized"> if the interaction class was not recognized</exception>
 ///<exception cref="InteractionParameterNotRecognized"> if a parameter of the interaction was not
 /// recognized</exception>
 ///<exception cref="InteractionClassNotSubscribed"> if the federate had not subscribed to the
 /// interaction class</exception>
 ///<exception cref="FederateInternalError"> if an error occurs in the federate</exception>
 public abstract void OnReceiveHLAupdateAttributeValuesReliable(HLAupdateAttributeValuesReliableMessage msg);
 public override void OnReceiveHLAupdateAttributeValuesReliable(HLAupdateAttributeValuesReliableMessage msg)
 {
     ProcessHLAupdateAttributeValues(msg);
 }