C# Class System.Reactive.IronMQ.Client

显示文件 Open project: Applied-Duality/IronMQ Class Usage Examples

Public Methods

Method Description
Client ( string applicationID, string oauthToken, Cloud cloud = Cloud.AWS ) : System.Json
CreateOrGetQueueAsync ( string name = null ) : Task

Get existing queue or create a new queue if it does not exist yet. If no name is given, a new name is generated.

ListQueues ( int startPage, int pageSize = 30 ) : IObservable

Get a list of all queues in a project. By default, 30 queues are fetched at a time. Up to 100 queues may be listed on a single page.

Method Details

Client() public method

public Client ( string applicationID, string oauthToken, Cloud cloud = Cloud.AWS ) : System.Json
applicationID string
oauthToken string
cloud Cloud
return System.Json

CreateOrGetQueueAsync() public method

Get existing queue or create a new queue if it does not exist yet. If no name is given, a new name is generated.
public CreateOrGetQueueAsync ( string name = null ) : Task
name string
return Task

ListQueues() public method

Get a list of all queues in a project. By default, 30 queues are fetched at a time. Up to 100 queues may be listed on a single page.
public ListQueues ( int startPage, int pageSize = 30 ) : IObservable
startPage int
pageSize int
return IObservable