InitializeLinkEndpoint() private method

private InitializeLinkEndpoint ( Amqp.Listener.LinkEndpoint linkEndpoint, uint credit ) : void
linkEndpoint Amqp.Listener.LinkEndpoint
credit uint
return void
Esempio n. 1
0
            public void AddLink(ListenerLink link, string address)
            {
                TargetLinkEndpoint endpoint = new TargetLinkEndpoint(this.messageProcessor, link);

                link.InitializeLinkEndpoint(endpoint, (uint)this.messageProcessor.Credit);
                this.Add(link, endpoint);
            }
Esempio n. 2
0
            public void AddLink(ListenerLink link, string address)
            {
                SourceLinkEndpoint endpoint = new SourceLinkEndpoint(this.messageSource, link);

                link.InitializeLinkEndpoint(endpoint, 0);
                this.Add(link, endpoint);
            }