RPCBase.Server.AmqpAdaptor.Send C# (CSharp) 메소드

Send() 공개 메소드

public Send ( byte buffer, byte dstUuid, RoutingRule routingRule ) : void
buffer byte
dstUuid byte
routingRule RoutingRule
리턴 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);
            }
        }
    }