Beispiel #1
0
        public void Init()
        {
            FileInfo logFile = new System.IO.FileInfo("Log4Net.config");
            if (logFile.Exists)
            {
                // Log4Net is configured using a DOMConfigurator.
                log4net.Config.XmlConfigurator.Configure(logFile);
            }
            else
            {
                // Set up a simple configuration that logs on the console.
                log4net.Config.BasicConfigurator.Configure();
            }

            // Log an baseInfo level message
            if (log.IsDebugEnabled)
            {
                if (string.IsNullOrEmpty(System.Threading.Thread.CurrentThread.Name))
                    System.Threading.Thread.CurrentThread.Name = "Main(" + System.Threading.Thread.CurrentThread.ManagedThreadId + ")";
                log.Debug(System.Reflection.MethodBase.GetCurrentMethod().DeclaringType + " Tests Start");
            }

            descriptorManager = new DescriptorManager();
            channelManager = new ChannelsManager();
            channelManager.StartNewConnection(new Uri("memory:1"));
            helper = new InteractionManager(descriptorManager, channelManager);

            Dictionary<TransportationType, ChannelType> channelMapping = new Dictionary<TransportationType, ChannelType>();
            channelMapping.Add(TransportationType.HLA_RELIABLE, ChannelType.MEMORY);
            channelMapping.Add(TransportationType.HLA_BEST_EFFORT, ChannelType.MEMORY);
            helper.SetTransportMapping(channelMapping);

            myListener = new MyTestBootstrapObjectListener();
            helper.AddInteractionListener(myListener);
        }
        /// <summary>Constructor.</summary>
        /// <param name="interactionManager"> the run-time interaction manager</param>
        public BoidObjectModelInteractionHelper(InteractionManager interactionManager)
        {
            Type objType;
            manager = interactionManager;
            XrtiSerializerManager serializerMngr = manager.SerializerManager;
            long handle;
            ObjectClassDescriptor ocd;

            ocd = manager.DescriptorManager.GetObjectClassDescriptor("Boid");
            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Color").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new BoidPropertyColorXrtiSerializer(serializerMngr));

            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));
        }
        /// <summary>Constructor.</summary>
        /// <param name="interactionManager"> the run-time interaction manager</param>
        public SxtaObjectModelInteractionHelper(InteractionManager interactionManager)
        {
            manager = interactionManager;
            XrtiSerializerManager serializerMngr = manager.SerializerManager;
            long handle;
            ObjectClassDescriptor ocd;

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

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

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

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("HLApendingTime").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new SxtafederatePropertyHLApendingTimeXrtiSerializer(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("Country");
            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Name").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new CountryPropertyNameXrtiSerializer(serializerMngr));

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

            handle = ((XRTIAttributeHandle)ocd.GetAttributeDescriptor("Position").Handle).Identifier;
            serializerMngr.RegisterSerializer(null, handle, new CountryPropertyPositionXrtiSerializer(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 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 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));
        }
Beispiel #8
0
        private void OnStartCommunications(object sender, System.EventArgs e)
        {
            if (!channelManager.IsClosed)
            {
                if (log.IsWarnEnabled)
                    log.Warn("Server is already started.");
                return;
            }
            if (channelManager.IsClosed)
            {
                if (protocolMngr == null)
                {
                    protocolMngr = new InteractionManager(new DescriptorManager(), channelManager);
                    protocolMngr.PeerName = peerName;
                    protocolMngr.PeerDescription = peerDescription;
                }
                channelManager.Start();
            }

            if (app.IsListener)
            {
                foreach (ConnectionInfo listener in app.GetTCPListenerInfoList())
                {
                    channelManager.StartNewListener(listener);
                }

                foreach (ConnectionInfo channel in app.UDPChannelsInfoList)
                {
                    channelManager.StartNewUDPLocalChannel(channel);
                }
            }
            foreach (string uri in app.ReliableConnectionList)
            {
                try
                {
                    channelManager.StartNewConnection(new Uri(uri));
                }
                catch (Exception ex)
                {
                    if (log.IsErrorEnabled)
                        log.Error("Error connecting " + uri + ". Exception: " + ex.Message);
                }
            }
            foreach (string uri in app.BestEffortConnectionList)
            {
                try
                {
                    channelManager.StartNewConnection(new Uri(uri));
                }
                catch (Exception ex)
                {
                    if (log.IsErrorEnabled)
                        log.Error("Error connecting " + uri + ". Exception: " + ex.Message);
                }
            }
        }
        /// <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
        }
        public InteractionDispatcher(InteractionManager aInteractionManager)
        {
            interactionsDelegates = new Dictionary<long, Dictionary<Type, ReceiveInteractionDelegate>>();

            interactionManager = aInteractionManager;
        }
Beispiel #11
0
        //, interactionMngr)
        public ObjectManagerMaster(int myClientHandle, DescriptorManager descriptorMngr, InteractionManager interactionMngr)
            : base(descriptorMngr)
        {
            clientHandle = myClientHandle;

            //interactionManager.AddInteractionListener(this);
        }
Beispiel #12
0
 public ObjectManagerListener(DescriptorManager descriptorMngr, InteractionManager interactionMngr)
     : base("Object Manager Listener")
 {
     interactionManager = interactionMngr;
     descriptorManager = descriptorMngr;
 }
Beispiel #13
0
        public InteractionDispatcher(InteractionManager aInteractionManager)
        {
            interactionsDelegates = new Dictionary <long, Dictionary <Type, ReceiveInteractionDelegate> >();

            interactionManager = aInteractionManager;
        }