C# Class RampUp.Actors.Impl.ActorRegistry

Show file Open project: Scooletz/RampUp Class Usage Examples

Public Methods

Method Description
ActorRegistry ( IReadOnlyCollection actors ) : System
GetBuffers ( Type messageType, ArraySegment &buffers ) : void
GetMessageTypeId ( Type messageType ) : int
this ( ActorId actor ) : IRingBuffer

Private Methods

Method Description
AddPadding ( List buffers ) : void
GetHandleMethods ( Type handlerType ) : IEnumerable

Gets all the methods handling messages, declared in handlerType.

Method Details

ActorRegistry() public method

public ActorRegistry ( IReadOnlyCollection actors ) : System
actors IReadOnlyCollection
return System

GetBuffers() public method

public GetBuffers ( Type messageType, ArraySegment &buffers ) : void
messageType System.Type
buffers ArraySegment
return void

GetMessageTypeId() public method

public GetMessageTypeId ( Type messageType ) : int
messageType System.Type
return int

this() public method

public this ( ActorId actor ) : IRingBuffer
actor ActorId
return IRingBuffer