Ejemplo n.º 1
0
        public void SendRdm(RdmPacket packet, RdmEndPoint targetAddress, UId targetId)
        {
            List <RdmRouteBinding> transportsToUse = router.GetTransportsRoutes(targetId);

            //Send the packet on all transports.
            foreach (RdmRouteBinding binding in transportsToUse)
            {
                binding.Transport.Socket.SendRdm(packet, targetAddress, targetId);
            }
        }
Ejemplo n.º 2
0
        public void SendRdm(RdmPacket packet, RdmEndPoint targetAddress, UId targetId)
        {
            if (BlockRDM)
            {
                return;
            }

            List <RdmRouteBinding> transportsToUse = router.GetTransportsRoutes(targetId);

            //Send the packet on all transports.
            foreach (RdmRouteBinding binding in transportsToUse)
            {
                foreach (IRdmSocket socket in binding.Transport.Sockets)
                {
                    socket.SendRdm(packet, targetAddress, targetId);
                }
            }
        }