C# Class NServiceBus.DataBus.InMemory.InMemoryDataBus

Inheritance: IDataBus
Afficher le fichier Open project: Particular/NServiceBus

Méthodes publiques

Méthode Description
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.

Method Details

Get() public méthode

Gets a data item from the bus.
public Get ( string key ) : Task
key string The key to look for.
Résultat Task

Peek() public méthode

public Peek ( string key ) : Entry
key string
Résultat Entry

Put() public méthode

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.
Résultat Task

Start() public méthode

Called when the bus starts up to allow the data bus to active background tasks.
public Start ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task