Public Member Functions | |
virtual CSmartBuffer | Allocate ()=0 |
Allocate an instance of IBuffer, remember to call Release() on it when you're done with it. | |
virtual CSmartBuffer | AllocateCustomSizedBuffer (IBuffer::BufferSize bufferSize)=0 |
Protected Member Functions | |
virtual | ~IAllocateBuffer () |
We never delete instances of this interface; you must manage the lifetime of the class that implements it. |
virtual ~IAllocateBuffer | ( | ) | [protected, virtual] |
We never delete instances of this interface; you must manage the lifetime of the class that implements it.
virtual CSmartBuffer Allocate | ( | ) | [pure virtual] |
Allocate an instance of IBuffer, remember to call Release() on it when you're done with it.
Implemented in CBufferAllocator, CBufferBasedBufferAllocator, CBufferHandleAllocator, CCustomPoolBufferAllocator, IAllocateBuffers, IManageBufferLifeCycle, IPoolBuffers, CNullBufferPool, CFilterDataBase, TAsyncSocket< JetByteTools::Socket::IPoolableStreamSocket, JetByteTools::Socket::IStreamSocketConnectionManager, JetByteTools::Socket::IStreamSocketCallback >, TAsyncSocket< JetByteTools::Socket::TMulticastDatagramHelper< JetByteTools::Socket::IPoolableDatagramSocket >, JetByteTools::Socket::IDatagramSocketConnectionManager, JetByteTools::Socket::IDatagramSocketCallback >, TAsyncSocket< JetByteTools::Socket::IPoolableDatagramServerSocket, JetByteTools::Socket::IDatagramServerSocketConnectionManager, JetByteTools::Socket::IDatagramServerSocketCallback >, and TWebSocketBase< JetByteTools::WebSocket::HyBi::IWebSocket >.
virtual CSmartBuffer AllocateCustomSizedBuffer | ( | IBuffer::BufferSize | bufferSize | ) | [pure virtual] |
Implemented in CBufferHandleAllocator, CCustomPoolBufferAllocator, IAllocateBuffers, IManageBufferLifeCycle, IPoolBuffers, and CNullBufferPool.