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

Listen() public method

public Listen ( TransportAsyncCallbackArgs>.Action callback ) : void
callback TransportAsyncCallbackArgs>.Action
return void
        public void Listen(Action<TransportListener, TransportAsyncCallbackArgs> callback)
        {
            this.notifyAccept = this.NotifyAccept;
            this.acceptCallback = callback;

            this.OnListen();
        }