Sxta.Rti1516.BoostrapProtocol.InteractionManager.SendInteraction C# (CSharp) Метод

SendInteraction() публичный Метод

Sends an interaction.
public SendInteraction ( BaseInteractionMessage msg ) : void
msg BaseInteractionMessage
Результат void
        public virtual void SendInteraction(BaseInteractionMessage msg)
        {
            TransportationType transport = interactionChannelMap[msg.GetType()];

            // If transport is null, then we send it directly to 
            // our listeners
            if (transport == null)
            {
                ReceiveInteraction(msg);
            }
            else
            {
                //msg.InteractionClassHandle = ((XRTIInteractionClassHandle)interactionClassDescriptorMap[msg.GetType()].Handle).Identifier;
                msg.InteractionClassHandle = SerializerManager.GetHandle(msg.GetType());

                SendInteraction(transport, msg);
            }
        }