C# Класс NServiceBus.DataBus.InMemory.InMemoryDataBus

Наследование: IDataBus
Показать файл Открыть проект

Открытые методы

Метод Описание
Get ( string key ) : Task

Gets a data item from the bus.

Peek ( string key ) : Entry
Put ( Stream stream, System.TimeSpan timeToBeReceived ) : Task

Adds a data item to the bus and returns the assigned key.

Start ( ) : System.Threading.Tasks.Task

Called when the bus starts up to allow the data bus to active background tasks.

Описание методов

Get() публичный Метод

Gets a data item from the bus.
public Get ( string key ) : Task
key string The key to look for.
Результат Task

Peek() публичный Метод

public Peek ( string key ) : Entry
key string
Результат Entry

Put() публичный Метод

Adds a data item to the bus and returns the assigned key.
public Put ( Stream stream, System.TimeSpan timeToBeReceived ) : Task
stream Stream A create containing the data to be sent on the databus.
timeToBeReceived System.TimeSpan The time to be received specified on the message type. TimeSpan.MaxValue is the default.
Результат Task

Start() публичный Метод

Called when the bus starts up to allow the data bus to active background tasks.
public Start ( ) : System.Threading.Tasks.Task
Результат System.Threading.Tasks.Task