Changeset 21002

Show
Ignore:
Timestamp:
01/13/08 07:18:00 (8 months ago)
Author:
patrick
Message:

Whoops, setCorkAllocStrategy() is supposed to be public.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • juggler/trunk/modules/vapor/vpr/IO/Socket/SocketStream_t.h

    r20997 r21002  
    207207   } 
    208208 
     209   /** 
     210    * Changes the strategy used for determining hwo much memory to allocate 
     211    * for the corking buffer. 
     212    * 
     213    * @param strategy A callable object used to determine how much memory to 
     214    *                 allocate when the corking buffer needs to grow. 
     215    * 
     216    * @note This only has bearing on platforms (such as Windows) that do not 
     217    *       implement the no-push ("corking") option on TCP sockets. 
     218    * 
     219    * @since 2.1.9 
     220    */ 
     221   void setCorkAllocStrategy(const NoPushAllocStrategy& s) 
     222   { 
     223      mSocketStreamImpl->setCorkAllocStrategy(s); 
     224   } 
     225 
    209226protected: 
    210227   /** 
     
    251268    */ 
    252269   //@{ 
    253    /** 
    254     * Changes the strategy used for determining hwo much memory to allocate 
    255     * for the corking buffer. 
    256     * 
    257     * @param strategy A callable object used to determine how much memory to 
    258     *                 allocate when the corking buffer needs to grow. 
    259     * 
    260     * @note This only has bearing on platforms (such as Windows) that do not 
    261     *       implement the no-push ("corking") option on TCP sockets. 
    262     * 
    263     * @since 2.1.9 
    264     */ 
    265    void setCorkAllocStrategy(const NoPushAllocStrategy& s) 
    266    { 
    267       mSocketStreamImpl->setCorkAllocStrategy(s); 
    268    } 
    269  
    270270   /** 
    271271    * Calls through to the cork() method of the internal stream socket