C# Class Helios.Buffers.AbstractByteBufAllocator

Abstract base class for IByteBufAllocator instances
Inheritance: IByteBufAllocator
Mostrar archivo Open project: helios-io/helios

Public Methods

Method Description
Buffer ( ) : IByteBuf
Buffer ( int initialCapcity ) : IByteBuf
Buffer ( int initialCapacity, int maxCapacity ) : IByteBuf

Protected Methods

Method Description
AbstractByteBufAllocator ( ) : System
DirectBuffer ( ) : IByteBuf
DirectBuffer ( int initialCapacity ) : IByteBuf
DirectBuffer ( int initialCapacity, int maxCapacity ) : IByteBuf
NewDirectBuffer ( int initialCapacity, int maxCapacity ) : IByteBuf

Private Methods

Method Description
Validate ( int initialCapacity, int maxCapacity ) : void

Method Details

AbstractByteBufAllocator() protected method

protected AbstractByteBufAllocator ( ) : System
return System

Buffer() public method

public Buffer ( ) : IByteBuf
return IByteBuf

Buffer() public method

public Buffer ( int initialCapcity ) : IByteBuf
initialCapcity int
return IByteBuf

Buffer() public method

public Buffer ( int initialCapacity, int maxCapacity ) : IByteBuf
initialCapacity int
maxCapacity int
return IByteBuf

DirectBuffer() protected method

protected DirectBuffer ( ) : IByteBuf
return IByteBuf

DirectBuffer() protected method

protected DirectBuffer ( int initialCapacity ) : IByteBuf
initialCapacity int
return IByteBuf

DirectBuffer() protected method

protected DirectBuffer ( int initialCapacity, int maxCapacity ) : IByteBuf
initialCapacity int
maxCapacity int
return IByteBuf

NewDirectBuffer() protected abstract method

protected abstract NewDirectBuffer ( int initialCapacity, int maxCapacity ) : IByteBuf
initialCapacity int
maxCapacity int
return IByteBuf