RPCBase.Server.AmqpAdaptor.Send C# (CSharp) Method

Send() public method

public Send ( byte buffer, byte dstUuid, RoutingRule routingRule ) : void
buffer byte
dstUuid byte
routingRule RoutingRule
return void
        public void Send(byte[] buffer, byte[] dstUuid, RoutingRule routingRule)
        {
            lock (mqChannel)
            {
                //todo uuid.ToString() consumes too much
                mqChannel.BasicPublish(routingRule.AmqpRule.GetDelegateExchangeName(), routingRule.AmqpRule.GetDelegateRoutingKey(dstUuid), null, buffer);
            }
        }
    }