AddReceiveInteractionDelegate() public method

Adds a delegate for the process of interactions.
public AddReceiveInteractionDelegate ( Type msgType, string name, ReceiveInteractionDelegate interactionDelegate ) : void
msgType Type
name string
interactionDelegate ReceiveInteractionDelegate
return void
Beispiel #1
0
        /// <summary>Constructor.</summary>
        /// <param name="interactionManager"> the run-time interaction manager</param>
        public BootstrapObjectModelInteractionHelper(InteractionManager interactionManager)
        {
            Type objType;

            manager = interactionManager;
            XrtiSerializerManager serializerMngr = manager.SerializerManager;
            long handle;

            objType = typeof(HLAattributeHandleValuePair);
            handle  = -10;
            serializerMngr.RegisterSerializer(objType, handle, new HLAattributeHandleValuePairXrtiSerializer(serializerMngr));

            objType = typeof(BaseInteractionMessage);
            manager.AddReceiveInteractionDelegate(objType, "BaseInteraction", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("BaseInteraction").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new BaseInteractionMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAGenericInteractionMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAGenericInteraction", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAGenericInteraction").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAGenericInteractionMessageXrtiSerializer(serializerMngr));
#if POSIBLE_MEJORA
            bootstrapInteractionsDelegates[handle].Add(objType, new InteractionDispatcher.ReceiveInteractionDelegate(this.OnReceiveHLAupdateAttributeValuesReliableBase));
#endif
            objType = typeof(HLAinteractionFragmentMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAinteractionFragment", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAinteractionFragment").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAinteractionFragmentMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAcontinueMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAcontinue", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAcontinue").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAcontinueMessageXrtiSerializer(serializerMngr));

            objType = typeof(PeerAdvertisementInteractionMessage);
            manager.AddReceiveInteractionDelegate(objType, "PeerAdvertisementInteraction", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("PeerAdvertisementInteraction").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new PeerAdvertisementInteractionMessageXrtiSerializer(serializerMngr));
        }
        /// <summary>Constructor.</summary>
        /// <param name="interactionManager"> the run-time interaction manager</param>
        public MetaFederationObjectModelInteractionHelper(InteractionManager interactionManager)
        {
            Type objType;
            manager = interactionManager;
            XrtiSerializerManager serializerMngr = manager.SerializerManager;
            long handle;
            ObjectClassDescriptor ocd;

            ocd = manager.DescriptorManager.GetObjectClassDescriptor("HLAfederationExecution");
            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("federationName").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederationExecutionPropertyfederationNameXrtiSerializer(serializerMngr));

            objType = typeof(HLAinteractionRootMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAinteractionRoot", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAinteractionRoot").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAinteractionRootMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAmetaFederationMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAmetaFederation", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAmetaFederation").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAmetaFederationMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAcreateFederationExecutionMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAcreateFederationExecution", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAcreateFederationExecution").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAcreateFederationExecutionMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAdestroyFederationExecutionMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAdestroyFederationExecution", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAdestroyFederationExecution").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAdestroyFederationExecutionMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAjoinFederationExecutionMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAjoinFederationExecution", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAjoinFederationExecution").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAjoinFederationExecutionMessageXrtiSerializer(serializerMngr));
        }
        /// <summary>Constructor.</summary>
        /// <param name="interactionManager"> the run-time interaction manager</param>
        public HelloWorldObjectModelInteractionHelper(InteractionManager interactionManager)
        {
            Type objType;
            manager = interactionManager;
            XrtiSerializerManager serializerMngr = manager.SerializerManager;
            long handle;
            ObjectClassDescriptor ocd;

            ocd = manager.DescriptorManager.GetObjectClassDescriptor("ExternalCountry");
            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Name").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new ExternalCountryPropertyNameXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Population").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new ExternalCountryPropertyPopulationXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Position").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new ExternalCountryPropertyPositionXrtiSerializer(serializerMngr));

            /*
            ocd = manager.DescriptorManager.GetObjectClassDescriptor("Boid");
            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Position").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new BoidPropertyPositionXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Velocity").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new BoidPropertyVelocityXrtiSerializer(serializerMngr));

            objType = typeof(HLAinteractionRootMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAinteractionRoot", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAinteractionRoot").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAinteractionRootMessageXrtiSerializer(serializerMngr));

            */
            objType = typeof(CommunicationMessage);
            manager.AddReceiveInteractionDelegate(objType, "Communication", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("Communication").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new CommunicationMessageXrtiSerializer(serializerMngr));
        }
        /// <summary>Constructor.</summary>
        /// <param name="interactionManager"> the run-time interaction manager</param>
        public LowLevelManagementObjectModelInteractionHelper(InteractionManager interactionManager)
        {
            Type objType;
            manager = interactionManager;
            XrtiSerializerManager serializerMngr = manager.SerializerManager;
            long handle;

            objType = typeof(BaseInteractionMessage);
            manager.AddReceiveInteractionDelegate(objType, "BaseInteraction", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("BaseInteraction").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new BaseInteractionMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLArequestHandlesMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLArequestHandles", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLArequestHandles").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLArequestHandlesMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportHandlesMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportHandles", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportHandles").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportHandlesMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAregisterObjectInstanceMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAregisterObjectInstance", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAregisterObjectInstance").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAregisterObjectInstanceMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAregisterObjectInstanceWithTimeMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAregisterObjectInstanceWithTime", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAregisterObjectInstanceWithTime").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAregisterObjectInstanceWithTimeMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLArequestAttributeValueUpdateMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLArequestAttributeValueUpdate", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLArequestAttributeValueUpdate").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLArequestAttributeValueUpdateMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAupdateAttributeValuesMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAupdateAttributeValues", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAupdateAttributeValues").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAupdateAttributeValuesMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAupdateAttributeValuesWithTimeMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAupdateAttributeValuesWithTime", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAupdateAttributeValuesWithTime").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAupdateAttributeValuesWithTimeMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAupdateAttributeValuesBestEffortWithTimeMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAupdateAttributeValuesBestEffortWithTime", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAupdateAttributeValuesBestEffortWithTime").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAupdateAttributeValuesBestEffortWithTimeMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAupdateAttributeValuesReliableWithTimeMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAupdateAttributeValuesReliableWithTime", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAupdateAttributeValuesReliableWithTime").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAupdateAttributeValuesReliableWithTimeMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAupdateAttributeValuesBestEffortMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAupdateAttributeValuesBestEffort", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAupdateAttributeValuesBestEffort").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAupdateAttributeValuesBestEffortMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAupdateAttributeValuesReliableMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAupdateAttributeValuesReliable", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAupdateAttributeValuesReliable").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAupdateAttributeValuesReliableMessageXrtiSerializer(serializerMngr));
        }
        /// <summary>Constructor.</summary>
        /// <param name="interactionManager"> the run-time interaction manager</param>
        public TimeManagementObjectModelInteractionHelper(InteractionManager interactionManager)
        {
            Type objType;
            manager = interactionManager;
            XrtiSerializerManager serializerMngr = manager.SerializerManager;
            long handle;
            ObjectClassDescriptor ocd;

            // Home
            ocd = manager.DescriptorManager.GetObjectClassDescriptor("Home");
            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("PosX").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new IntegerPositionXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("PosY").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new IntegerPositionXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("BoxesCount").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HomePropertyBoxesCountXrtiSerializer(serializerMngr));

            // Actor
            ocd = manager.DescriptorManager.GetObjectClassDescriptor("Actor");
            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("PosX").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new IntegerPositionXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("PosY").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new IntegerPositionXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Direction").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new ActorPropertyDirectionXrtiSerializer(serializerMngr));

            // Interactions
            objType = typeof(HLAinteractionRootMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAinteractionRoot", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAinteractionRoot").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAinteractionRootMessageXrtiSerializer(serializerMngr));

            objType = typeof(BoxInHouseMessage);
            manager.AddReceiveInteractionDelegate(objType, "BoxInHouse", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("BoxInHouse").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new BoxInHouseMessageXrtiSerializer(serializerMngr));
        }
        /// <summary>Constructor.</summary>
        /// <param name="interactionManager"> the run-time interaction manager</param>
        public ManagementObjectModelInteractionHelper(InteractionManager interactionManager)
        {
            Type objType;
            manager = interactionManager;
            XrtiSerializerManager serializerMngr = manager.SerializerManager;
            long handle;
            ObjectClassDescriptor ocd;

            /* INTERACTIONS */

            objType = typeof(HLApublishObjectClassAttributesMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLApublishObjectClassAttributes", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLApublishObjectClassAttributes").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLApublishObjectClassAttributesMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLApublishInteractionClassMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLApublishInteractionClass", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLApublishInteractionClass").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLApublishInteractionClassMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAsubscribeObjectClassAttributesMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAsubscribeObjectClassAttributes", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAsubscribeObjectClassAttributes").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAsubscribeObjectClassAttributesMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAsubscribeInteractionClassMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAsubscribeInteractionClass", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAsubscribeInteractionClass").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAsubscribeInteractionClassMessageXrtiSerializer(serializerMngr));

            /* OBJECTS CLASS */

            ocd = manager.DescriptorManager.GetObjectClassDescriptor("HLAfederation");
            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAfederationName").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederationPropertyHLAfederationNameXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAfederatesinFederation").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederationPropertyHLAfederatesinFederationXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLARTIversion").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederationPropertyHLARTIversionXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAFDDID").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederationPropertyHLAFDDIDXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAlastSaveName").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederationPropertyHLAlastSaveNameXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAlastSaveTime").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederationPropertyHLAlastSaveTimeXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAnextSaveName").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederationPropertyHLAnextSaveNameXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAnextSaveTime").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederationPropertyHLAnextSaveTimeXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAautoProvide").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederationPropertyHLAautoProvideXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAconveyRegionDesignatorSets").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederationPropertyHLAconveyRegionDesignatorSetsXrtiSerializer(serializerMngr));

            ocd = manager.DescriptorManager.GetObjectClassDescriptor("HLAfederate");

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAfederateHandle").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAfederateHandleXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAfederateType").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAfederateTypeXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAfederateHost").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAfederateHostXrtiSerializer(serializerMngr));

            #region TIME_MANAGEMENT_PROPERTIES

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAtimeConstrained").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAtimeConstrainedXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAtimeRegulating").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAtimeRegulatingXrtiSerializer(serializerMngr));
            
            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAtimeManagerState").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAtimeManagerStateXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAlogicalTime").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAlogicalTimeXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAlookahead").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAlookaheadXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAGALT").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAGALTXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLALITS").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLALITSXrtiSerializer(serializerMngr));

            #endregion

            #if SIN_INTEGRAR_EN_EL_SISTEMA
            /*
            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLARTIversion").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLARTIversionXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAFDDID").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAFDDIDXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAasynchronousDelivery").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAasynchronousDeliveryXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAfederateState").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAfederateStateXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAROlength").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAROlengthXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLATSOlength").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLATSOlengthXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAreflectionsReceived").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAreflectionsReceivedXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAupdatesSent").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAupdatesSentXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAinteractionsReceived").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAinteractionsReceivedXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAinteractionsSent").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAinteractionsSentXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAobjectsInstancesThatCanBeDeleted").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAobjectsInstancesThatCanBeDeletedXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAobjectInstancesUpdated").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAobjectInstancesUpdatedXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAobjectInstancesReflected").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAobjectInstancesReflectedXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAobjectInstancesDeleted").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAobjectInstancesDeletedXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAobjectInstancesRemoved").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAobjectInstancesRemovedXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAobjectInstancesRegistered").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAobjectInstancesRegisteredXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAobjectInstancesDiscovered").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAobjectInstancesDiscoveredXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAtimeGrantedTime").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAtimeGrantedTimeXrtiSerializer(serializerMngr));

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLAtimeAdvancingTime").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new HLAfederatePropertyHLAtimeAdvancingTimeXrtiSerializer(serializerMngr));
             
            objType = typeof(HLAinteractionRootMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAinteractionRoot", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAinteractionRoot").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAinteractionRootMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAmanagerMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAmanager", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAmanager").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAmanagerMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAfederateMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAfederate", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAfederate").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAfederateMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAadjustFederateMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAadjustFederate", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAadjustFederate").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAadjustFederateMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAsetTimingMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAsetTiming", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAsetTiming").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAsetTimingMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAmodifyAttributeStateMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAmodifyAttributeState", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAmodifyAttributeState").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAmodifyAttributeStateMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAsetServiceReportingMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAsetServiceReporting", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAsetServiceReporting").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAsetServiceReportingMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAsetExceptionReportingMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAsetExceptionReporting", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAsetExceptionReporting").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAsetExceptionReportingMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLArequestMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLArequest", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLArequest").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLArequestMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLArequestPublicationsMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLArequestPublications", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLArequestPublications").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLArequestPublicationsMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLArequestSubscriptionsMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLArequestSubscriptions", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLArequestSubscriptions").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLArequestSubscriptionsMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLArequestObjectInstancesThatCanBeDeletedMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLArequestObjectInstancesThatCanBeDeleted", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLArequestObjectInstancesThatCanBeDeleted").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLArequestObjectInstancesThatCanBeDeletedMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLArequestObjectInstancesUpdatedMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLArequestObjectInstancesUpdated", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLArequestObjectInstancesUpdated").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLArequestObjectInstancesUpdatedMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLArequestObjectInstancesReflectedMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLArequestObjectInstancesReflected", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLArequestObjectInstancesReflected").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLArequestObjectInstancesReflectedMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLArequestUpdatesSentMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLArequestUpdatesSent", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLArequestUpdatesSent").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLArequestUpdatesSentMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLArequestInteractionsSentMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLArequestInteractionsSent", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLArequestInteractionsSent").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLArequestInteractionsSentMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLArequestReflectionsReceivedMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLArequestReflectionsReceived", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLArequestReflectionsReceived").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLArequestReflectionsReceivedMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLArequestInteractionsReceivedMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLArequestInteractionsReceived", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLArequestInteractionsReceived").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLArequestInteractionsReceivedMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLArequestObjectInstanceInformationMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLArequestObjectInstanceInformation", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLArequestObjectInstanceInformation").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLArequestObjectInstanceInformationMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLArequestSynchronizationPointsMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLArequestSynchronizationPoints", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLArequestSynchronizationPoints").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLArequestSynchronizationPointsMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLArequestSynchronizationPointStatusMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLArequestSynchronizationPointStatus", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLArequestSynchronizationPointStatus").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLArequestSynchronizationPointStatusMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreport", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreport").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportObjectClassPublicationMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportObjectClassPublication", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportObjectClassPublication").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportObjectClassPublicationMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportObjectClassSubscriptionMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportObjectClassSubscription", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportObjectClassSubscription").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportObjectClassSubscriptionMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportInteractionPublicationMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportInteractionPublication", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportInteractionPublication").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportInteractionPublicationMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportInteractionSubscriptionMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportInteractionSubscription", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportInteractionSubscription").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportInteractionSubscriptionMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportObjectInstancesThatCanBeDeletedMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportObjectInstancesThatCanBeDeleted", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportObjectInstancesThatCanBeDeleted").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportObjectInstancesThatCanBeDeletedMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportObjectInstancesUpdatedMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportObjectInstancesUpdated", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportObjectInstancesUpdated").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportObjectInstancesUpdatedMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportObjectInstancesReflectedMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportObjectInstancesReflected", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportObjectInstancesReflected").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportObjectInstancesReflectedMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportUpdatesSentMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportUpdatesSent", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportUpdatesSent").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportUpdatesSentMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportReflectionsReceivedMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportReflectionsReceived", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportReflectionsReceived").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportReflectionsReceivedMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportInteractionsSentMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportInteractionsSent", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportInteractionsSent").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportInteractionsSentMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportInteractionsReceivedMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportInteractionsReceived", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportInteractionsReceived").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportInteractionsReceivedMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportObjectInstanceInformationMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportObjectInstanceInformation", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportObjectInstanceInformation").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportObjectInstanceInformationMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportExceptionMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportException", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportException").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportExceptionMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportServiceInvocationMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportServiceInvocation", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportServiceInvocation").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportServiceInvocationMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportMOMexceptionMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportMOMexception", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportMOMexception").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportMOMexceptionMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportSynchronizationPointsMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportSynchronizationPoints", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportSynchronizationPoints").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportSynchronizationPointsMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAreportSynchronizationPointStatusMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAreportSynchronizationPointStatus", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAreportSynchronizationPointStatus").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAreportSynchronizationPointStatusMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAserviceMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAservice", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAservice").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAserviceMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAresignFederationExecutionMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAresignFederationExecution", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAresignFederationExecution").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAresignFederationExecutionMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAsynchronizationPointAchievedMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAsynchronizationPointAchieved", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAsynchronizationPointAchieved").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAsynchronizationPointAchievedMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAfederateSaveBegunMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAfederateSaveBegun", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAfederateSaveBegun").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAfederateSaveBegunMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAfederateSaveCompleteMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAfederateSaveComplete", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAfederateSaveComplete").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAfederateSaveCompleteMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAfederateRestoreCompleteMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAfederateRestoreComplete", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAfederateRestoreComplete").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAfederateRestoreCompleteMessageXrtiSerializer(serializerMngr));
            
            objType = typeof(HLAunpublishObjectClassAttributesMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAunpublishObjectClassAttributes", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAunpublishObjectClassAttributes").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAunpublishObjectClassAttributesMessageXrtiSerializer(serializerMngr));
            
            objType = typeof(HLAunpublishInteractionClassMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAunpublishInteractionClass", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAunpublishInteractionClass").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAunpublishInteractionClassMessageXrtiSerializer(serializerMngr));
 
            objType = typeof(HLAunsubscribeObjectClassAttributesMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAunsubscribeObjectClassAttributes", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAunsubscribeObjectClassAttributes").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAunsubscribeObjectClassAttributesMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAunsubscribeInteractionClassMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAunsubscribeInteractionClass", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAunsubscribeInteractionClass").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAunsubscribeInteractionClassMessageXrtiSerializer(serializerMngr));
             
            objType = typeof(HLAdeleteObjectInstanceMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAdeleteObjectInstance", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAdeleteObjectInstance").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAdeleteObjectInstanceMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAlocalDeleteObjectInstanceMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAlocalDeleteObjectInstance", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAlocalDeleteObjectInstance").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAlocalDeleteObjectInstanceMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAchangeAttributeTransportationTypeMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAchangeAttributeTransportationType", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAchangeAttributeTransportationType").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAchangeAttributeTransportationTypeMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAchangeInteractionTransportationTypeMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAchangeInteractionTransportationType", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAchangeInteractionTransportationType").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAchangeInteractionTransportationTypeMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAunconditionalAttributeOwnershipDivestitureMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAunconditionalAttributeOwnershipDivestiture", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAunconditionalAttributeOwnershipDivestiture").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAunconditionalAttributeOwnershipDivestitureMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAenableTimeRegulationMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAenableTimeRegulation", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAenableTimeRegulation").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAenableTimeRegulationMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAdisableTimeRegulationMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAdisableTimeRegulation", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAdisableTimeRegulation").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAdisableTimeRegulationMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAenableTimeConstrainedMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAenableTimeConstrained", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAenableTimeConstrained").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAenableTimeConstrainedMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAdisableTimeConstrainedMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAdisableTimeConstrained", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAdisableTimeConstrained").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAdisableTimeConstrainedMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAtimeAdvanceRequestMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAtimeAdvanceRequest", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAtimeAdvanceRequest").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAtimeAdvanceRequestMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAtimeAdvanceRequestAvailableMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAtimeAdvanceRequestAvailable", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAtimeAdvanceRequestAvailable").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAtimeAdvanceRequestAvailableMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAnextMessageRequestMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAnextMessageRequest", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAnextMessageRequest").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAnextMessageRequestMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAnextMessageRequestAvailableMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAnextMessageRequestAvailable", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAnextMessageRequestAvailable").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAnextMessageRequestAvailableMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAflushQueueRequestMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAflushQueueRequest", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAflushQueueRequest").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAflushQueueRequestMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAenableAsynchronousDeliveryMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAenableAsynchronousDelivery", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAenableAsynchronousDelivery").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAenableAsynchronousDeliveryMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAdisableAsynchronousDeliveryMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAdisableAsynchronousDelivery", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAdisableAsynchronousDelivery").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAdisableAsynchronousDeliveryMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAmodifyLookaheadMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAmodifyLookahead", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAmodifyLookahead").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAmodifyLookaheadMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAchangeAttributeOrderTypeMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAchangeAttributeOrderType", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAchangeAttributeOrderType").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAchangeAttributeOrderTypeMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAchangeInteractionOrderTypeMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAchangeInteractionOrderType", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAchangeInteractionOrderType").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAchangeInteractionOrderTypeMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAfederationMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAfederation", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAfederation").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAfederationMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAadjustFederationMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAadjustFederation", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAadjustFederation").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAadjustFederationMessageXrtiSerializer(serializerMngr));

            objType = typeof(HLAsetSwitchesMessage);
            manager.AddReceiveInteractionDelegate(objType, "HLAsetSwitches", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
            handle = ((XRTIInteractionClassHandle)manager.DescriptorManager.GetInteractionClassDescriptor("HLAsetSwitches").Handle).Identifier;
            serializerMngr.RegisterSerializer(objType, handle, new HLAsetSwitchesMessageXrtiSerializer(serializerMngr));
            */
            #endif
        }
Beispiel #7
0
        public void AddListener(long handle, AbstractLowLevelManagementObjectModelInteractionListener listener)
        {
            Type objType;

            if (!interactionsDelegates.ContainsKey(handle))
            {
                interactionsDelegates[handle] = new Dictionary <Type, ReceiveInteractionDelegate>();

                objType = typeof(BaseInteractionMessage);
                //interactionManager.AddReceiveInteractionDelegate(objType, "BaseInteraction", new InteractionManager.ReceiveInteractionDelegate(this.ReceiveInteraction));
                interactionsDelegates[handle].Add(objType, new InteractionDispatcher.ReceiveInteractionDelegate(listener.ReceiveInteraction));
            }

            objType = typeof(HLArequestHandlesMessage);
            interactionManager.AddReceiveInteractionDelegate(objType, "HLArequestHandles", new InteractionManager.ReceiveInteractionDelegate(this.DispatchInteraction));
            interactionsDelegates[handle].Add(objType, new InteractionDispatcher.ReceiveInteractionDelegate(listener.OnReceiveHLArequestHandlesBase));

            objType = typeof(HLAreportHandlesMessage);
            interactionManager.AddReceiveInteractionDelegate(objType, "HLAreportHandles", new InteractionManager.ReceiveInteractionDelegate(this.DispatchInteraction));
            interactionsDelegates[handle].Add(objType, new InteractionDispatcher.ReceiveInteractionDelegate(listener.OnReceiveHLAreportHandlesBase));

            objType = typeof(HLAregisterObjectInstanceMessage);
            interactionManager.AddReceiveInteractionDelegate(objType, "HLAregisterObjectInstance", new InteractionManager.ReceiveInteractionDelegate(this.DispatchInteraction));
            interactionsDelegates[handle].Add(objType, new InteractionDispatcher.ReceiveInteractionDelegate(listener.OnReceiveHLAregisterObjectInstanceBase));

            objType = typeof(HLAregisterObjectInstanceWithTimeMessage);
            interactionManager.AddReceiveInteractionDelegate(objType, "HLAregisterObjectInstanceWithTime", new InteractionManager.ReceiveInteractionDelegate(this.DispatchInteraction));
            interactionsDelegates[handle].Add(objType, new InteractionDispatcher.ReceiveInteractionDelegate(listener.OnReceiveHLAregisterObjectInstanceWithTimeBase));

            objType = typeof(HLArequestAttributeValueUpdateMessage);
            interactionManager.AddReceiveInteractionDelegate(objType, "HLArequestAttributeValueUpdate", new InteractionManager.ReceiveInteractionDelegate(this.DispatchInteraction));
            interactionsDelegates[handle].Add(objType, new InteractionDispatcher.ReceiveInteractionDelegate(listener.OnReceiveHLArequestAttributeValueUpdateBase));

            objType = typeof(HLAupdateAttributeValuesBestEffortWithTimeMessage);
            interactionManager.AddReceiveInteractionDelegate(objType, "HLAupdateAttributeValuesBestEffortWithTime", new InteractionManager.ReceiveInteractionDelegate(this.DispatchInteraction));
            interactionsDelegates[handle].Add(objType, new InteractionDispatcher.ReceiveInteractionDelegate(listener.OnReceiveHLAupdateAttributeValuesBestEffortWithTimeBase));

            objType = typeof(HLAupdateAttributeValuesReliableWithTimeMessage);
            interactionManager.AddReceiveInteractionDelegate(objType, "HLAupdateAttributeValuesReliableWithTime", new InteractionManager.ReceiveInteractionDelegate(this.DispatchInteraction));
            interactionsDelegates[handle].Add(objType, new InteractionDispatcher.ReceiveInteractionDelegate(listener.OnReceiveHLAupdateAttributeValuesReliableWithTimeBase));

            objType = typeof(HLAupdateAttributeValuesBestEffortMessage);
            interactionManager.AddReceiveInteractionDelegate(objType, "HLAupdateAttributeValuesBestEffort", new InteractionManager.ReceiveInteractionDelegate(this.DispatchInteraction));
            interactionsDelegates[handle].Add(objType, new InteractionDispatcher.ReceiveInteractionDelegate(listener.OnReceiveHLAupdateAttributeValuesBestEffortBase));

            objType = typeof(HLAupdateAttributeValuesReliableMessage);
            interactionManager.AddReceiveInteractionDelegate(objType, "HLAupdateAttributeValuesReliable", new InteractionManager.ReceiveInteractionDelegate(this.DispatchInteraction));
            interactionsDelegates[handle].Add(objType, new InteractionDispatcher.ReceiveInteractionDelegate(listener.OnReceiveHLAupdateAttributeValuesReliableBase));
        }