Microsoft.Azure.Amqp.Transport.TransportListener.OnTransportAccepted C# (CSharp) Method

OnTransportAccepted() protected method

protected OnTransportAccepted ( TransportAsyncCallbackArgs args ) : void
args TransportAsyncCallbackArgs
return void
        protected void OnTransportAccepted(TransportAsyncCallbackArgs args)
        {
            if (args.CompletedSynchronously)
            {
                ActionItem.Schedule(this.notifyAccept, args);
            }
            else
            {
                this.NotifyAccept(args);
            }
        }