C# Class RampUp.Ring.OneToOneRingBuffer

Inheritance: IRingBuffer, IDisposable
Mostrar archivo Open project: Scooletz/RampUp Class Usage Examples

Public Methods

Method Description
Dispose ( ) : void
OneToOneRingBuffer ( IUnsafeBuffer buffer ) : System
Read ( MessageHandler handler, int messageProcessingLimit ) : int
Write ( int messageTypeId, ByteChunk chunk ) : bool

Private Methods

Method Description
ValidateLength ( ByteChunk chunk ) : void

Method Details

Dispose() public method

public Dispose ( ) : void
return void

OneToOneRingBuffer() public method

public OneToOneRingBuffer ( IUnsafeBuffer buffer ) : System
buffer IUnsafeBuffer
return System

Read() public method

public Read ( MessageHandler handler, int messageProcessingLimit ) : int
handler MessageHandler
messageProcessingLimit int
return int

Write() public method

public Write ( int messageTypeId, ByteChunk chunk ) : bool
messageTypeId int
chunk RampUp.Buffers.ByteChunk
return bool