Session.getEffectiveRecvDataLength

Returns the number of DATA payload in bytes received without WINDOW_UPDATE transmission for a connection. The local (receive) window size can be adjusted by submitWindowUpdate. This function takes into account that and returns effective data length. In particular, if the local window size is reduced by submitting negative window_size_increment with submitWindowUpdate, this function returns the number of bytes less than actually received.

This function returns -1 if it fails.

class Session
int
getEffectiveRecvDataLength
()

Meta