Example #1
0
 public bool Start()
 {
     this.reader = new AsyncIO.FrameBufferReader(this, this.transport);
     this.writer = new AsyncIO.AsyncBufferWriter(this.transport);
     if (this.isInitiator)
     {
         this.state = SaslNegotiator.SaslState.WaitingForServerMechanisms;
         MessagingClientEtwProvider.TraceClient <SaslNegotiator>((SaslNegotiator source) => {
         }, this);
         this.ReadFrame();
     }
     else
     {
         this.SendServerMechanisms();
     }
     return(false);
 }
        public bool Start()
        {
            this.reader = new AsyncIO.FrameBufferReader(this, transport, this.provider.MaxFrameSize);
            this.writer = new AsyncIO.AsyncBufferWriter(transport);

            if (!this.isInitiator)
            {
                this.SendServerMechanisms();
            }
            else
            {
                this.state = SaslState.WaitingForServerMechanisms;
                AmqpTrace.Provider.AmqpLogOperationVerbose(this, TraceOperation.Execute, "WaitingForServerMechanisms");
                this.ReadFrame();
            }

            return(false);
        }
Example #3
0
        public bool Start()
        {
            this.reader = new AsyncIO.FrameBufferReader(transport);
            this.writer = new AsyncIO.AsyncBufferWriter(transport);

            if (!this.transport.IsInitiator)
            {
                this.SendServerMechanisms();
            }
            else
            {
                Utils.Trace(TraceLevel.Info, "{0}: waiting for server mechanisms", this);
                this.state = SaslState.WaitingForServerMechanisms;
                this.ReadFrame();
            }

            return(false);
        }
Example #4
0
        public bool Start()
        {
            this.reader = new AsyncIO.FrameBufferReader(transport);
            this.writer = new AsyncIO.AsyncBufferWriter(transport);

            if (!this.transport.IsInitiator)
            {
                this.SendServerMechanisms();
            }
            else
            {
                Utils.Trace(TraceLevel.Info, "{0}: waiting for server mechanisms", this);
                this.state = SaslState.WaitingForServerMechanisms;
                this.ReadFrame();
            }

            return false;
        }
Example #5
0
        public bool Start()
        {
            this.reader = new AsyncIO.FrameBufferReader(this, transport, this.provider.MaxFrameSize);
            this.writer = new AsyncIO.AsyncBufferWriter(transport);

            if (!this.isInitiator)
            {
                this.SendServerMechanisms();
            }
            else
            {
                this.state = SaslState.WaitingForServerMechanisms;
                AmqpTrace.Provider.AmqpLogOperationVerbose(this, TraceOperation.Execute, "WaitingForServerMechanisms");
                this.ReadFrame();
            }

            return false;
        }