| 247 | | /** @name TCP Corking Interface Implementation */ |
|---|
| 248 | | //@{ |
|---|
| 249 | | void setCorkAllocStrategy(const NoPushStrategy& s) |
|---|
| 250 | | { |
|---|
| 251 | | mSocketStreamImpl->setCorkAllocStrategy(s); |
|---|
| 252 | | } |
|---|
| 253 | | |
|---|
| 254 | | /** |
|---|
| 255 | | * Calls through to the cork() method of the internal stream socket |
|---|
| 256 | | * implementation. |
|---|
| 257 | | * |
|---|
| 258 | | * @since 2.1.9 |
|---|
| 259 | | * |
|---|
| 260 | | * @see vpr::SocketStreamImplBSD::cork() |
|---|
| 261 | | * @see vpr::SocketStreamImplNSPR::cork() |
|---|
| 262 | | */ |
|---|
| 263 | | virtual void cork() |
|---|
| 264 | | { |
|---|
| 265 | | mSocketStreamImpl->cork(); |
|---|
| 266 | | } |
|---|
| 267 | | |
|---|
| 268 | | /** |
|---|
| 269 | | * Calls through to the uncork() method of the internal stream socket |
|---|
| 270 | | * implementation. |
|---|
| 271 | | * |
|---|
| 272 | | * @since 2.1.9 |
|---|
| 273 | | * |
|---|
| 274 | | * @see vpr::SocketStreamImplBSD::uncork() |
|---|
| 275 | | * @see vpr::SocketStreamImplNSPR::uncork() |
|---|
| 276 | | */ |
|---|
| 277 | | virtual void uncork() |
|---|
| 278 | | { |
|---|
| 279 | | mSocketStreamImpl->uncork(); |
|---|
| 280 | | } |
|---|
| 281 | | //@} |
|---|
| 282 | | |
|---|