| 131 | } |
| 132 | |
| 133 | BufferedConnectionData::BufferedConnectionData(Reference<IConnection> connection) |
| 134 | : connection(connection), |
| 135 | total_bytes(0), |
| 136 | desired_bytes(0), |
| 137 | deadlist_begin_offset(0), |
| 138 | buffer_begin_offset(0), |
| 139 | buffer_end_offset(0) { |
| 140 | conn = connectionKeeper(this); |
| 141 | } |
| 142 | |
| 143 | BufferedConnection::BufferedConnection(Reference<IConnection> connection) |
| 144 | : self(new BufferedConnectionData(connection)) {} |
nothing calls this directly
no outgoing calls
no test coverage detected