コード例 #1
0
 public override void OnReceiveHLAreportHandles(HLAreportHandlesMessage msg)
 {
     if (log.IsDebugEnabled)
     {
         log.Debug("[" + federationName + "] Received HLAreportHandles =  " + msg.ToString());
     }
 }
コード例 #2
0
 ///<summary> Reads this HLAreportHandlesMessage from the specified stream.</summary>
 ///<param name="reader"> the input stream to read from</param>
 ///<returns> the object</returns>
 ///<exception cref="IOException"> if an error occurs</exception>
 public override object Deserialize(HlaEncodingReader reader, ref object msg2)
 {
     HLAreportHandlesMessage msg = new HLAreportHandlesMessage();
     msg.CopyTo((BaseInteractionMessage)msg2);
     try
     {
         msg.BlockStart = reader.ReadHLAinteger64BE();
         msg.BlockSize = reader.ReadHLAinteger64BE();
     }
     catch (IOException ioe)
     {
         throw new RTIinternalError(ioe.ToString());
     }
     return msg;
 }
コード例 #3
0
        ///<summary> Reads this HLAreportHandlesMessage from the specified stream.</summary>
        ///<param name="reader"> the input stream to read from</param>
        ///<returns> the object</returns>
        ///<exception cref="IOException"> if an error occurs</exception>
        public override object Deserialize(HlaEncodingReader reader, ref object msg2)
        {
            HLAreportHandlesMessage msg = new HLAreportHandlesMessage();

            msg.CopyTo((BaseInteractionMessage)msg2);
            try
            {
                msg.BlockStart = reader.ReadHLAinteger64BE();
                msg.BlockSize  = reader.ReadHLAinteger64BE();
            }
            catch (IOException ioe)
            {
                throw new RTIinternalError(ioe.ToString());
            }
            return(msg);
        }
 public override void OnReceiveHLAreportHandles(HLAreportHandlesMessage msg)
 {
     if (log.IsDebugEnabled)
         log.Debug("[" + federationName + "] Received HLAreportHandles =  " + msg.ToString());
 }
 ///<summary>
 ///Reports a block of handles. 
 ///</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 OnReceiveHLAreportHandles(HLAreportHandlesMessage msg);
コード例 #6
0
 ///<summary>
 ///Reports a block of handles.
 ///</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 OnReceiveHLAreportHandles(HLAreportHandlesMessage msg);