C# Class HaywireMQ.Server.Channel.InMemoryMessageChannel

Inheritance: IMessageChannel
Show file Open project: kellabyte/HaywireMQ

Public Methods

Method Description
BeginReceive ( System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
EndReceive ( IAsyncResult result ) : Message
InMemoryMessageChannel ( string queueId ) : System

Initializes an instance of the InMemoryMessageChannel class.

Send ( string queueAddress, Message message ) : void

Private Methods

Method Description
EndDequeue ( IAsyncResult result ) : void

Method Details

BeginReceive() public method

public BeginReceive ( System.TimeSpan timeout, AsyncCallback callback, object state ) : IAsyncResult
timeout System.TimeSpan
callback AsyncCallback
state object
return IAsyncResult

EndReceive() public method

public EndReceive ( IAsyncResult result ) : Message
result IAsyncResult
return Message

InMemoryMessageChannel() public method

Initializes an instance of the InMemoryMessageChannel class.
public InMemoryMessageChannel ( string queueId ) : System
queueId string
return System

Send() public method

public Send ( string queueAddress, Message message ) : void
queueAddress string
message Message
return void