returnFlowCredit abstract method

void returnFlowCredit(
  1. int streamId,
  2. int bytes
)

Reports one message of bytes consumed by the application on streamId.

Called once per payload or direct object, with 0 for an empty or direct one: credit is returned in messages as well as bytes, and a message that is never reported is a place in the peer's window that never comes back.

Implementation

void returnFlowCredit(int streamId, int bytes);