Sets whether the link is automatically marked {@link #drained()} after the send queue drain handler callback
returns if the receiving peer requested that credit be drained, as indicated by the value of the
{@link #getDrain()} flag.
True by default.
@param autoDrained
whether the link will automatically be drained after the send queue drain handler fires in drain mode
@return the sender
Sets whether the link is automatically marked {@link #drained()} after the send queue drain handler callback returns if the receiving peer requested that credit be drained, as indicated by the value of the {@link #getDrain()} flag.
True by default.
@param autoDrained whether the link will automatically be drained after the send queue drain handler fires in drain mode @return the sender