bufferedAmount property

int bufferedAmount
getter/setter pair

What the client sees as its send queue size. Set it above the client's sendHighWaterMark to make push() wait, then call drain.

Implementation

int bufferedAmount = 0;