C# 클래스 NServiceBus.DataBus.InMemory.InMemoryDataBus

상속: IDataBus
파일 보기 프로젝트 열기: Particular/NServiceBus

공개 메소드들

메소드 설명
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