C# Class IronPigeon.Relay.Controllers.InboxController

Inheritance: Controller
显示文件 Open project: AArnott/IronPigeon Class Usage Examples

Public Properties

Property Type Description
MaxLifetimeCeiling System.TimeSpan

Public Methods

Method Description
InboxController ( ) : System

Initializes a new instance of the InboxController class.

InboxController ( string containerName, string tableName, string cloudConfigurationName, HttpMessageHandler httpHandler = null ) : System

Initializes a new instance of the InboxController class.

PurgeExpiredAsync ( CloudBlobContainer inboxContainer ) : Task

Protected Methods

Method Description
GetAbsoluteUrlForAction ( string action, dynamic routeValues ) : Uri

Private Methods

Method Description
AlertLongPollWaiterAsync ( InboxEntity inbox ) : Task
CreateAsync ( ) : Task
DeleteAsync ( string id ) : Task
DeleteAsync ( string id, string notification ) : Task
GetInboxAsync ( string id ) : Task
GetInboxItemsAsync ( string id, bool longPoll = false ) : Task
OneTimeInitializeAsync ( CloudStorageAccount azureAccount ) : Task
PostNotificationAsync ( string id, int lifetime ) : Task
PushChannelAsync ( string id ) : Task
PushNotifyInboxMessageAppleAsync ( InboxEntity inbox ) : Task
PushNotifyInboxMessageAsync ( InboxEntity inbox ) : Task
PushNotifyInboxMessageGoogleAsync ( InboxEntity inbox ) : Task
PushNotifyInboxMessageWinPhoneAsync ( InboxEntity inbox ) : Task
PushNotifyInboxMessageWinStoreAsync ( InboxEntity inbox, int failedAttempts ) : Task
RetrieveInboxItemsAsync ( string id, bool longPoll ) : Task>
RetrieveInboxItemsCountAsync ( string id ) : Task
WaitIncomingMessageAsync ( string id ) : Task

Method Details

GetAbsoluteUrlForAction() protected method

protected GetAbsoluteUrlForAction ( string action, dynamic routeValues ) : Uri
action string
routeValues dynamic
return System.Uri

InboxController() public method

Initializes a new instance of the InboxController class.
public InboxController ( ) : System
return System

InboxController() public method

Initializes a new instance of the InboxController class.
public InboxController ( string containerName, string tableName, string cloudConfigurationName, HttpMessageHandler httpHandler = null ) : System
containerName string Name of the blob container.
tableName string Name of the table.
cloudConfigurationName string Name of the cloud configuration.
httpHandler System.Net.Http.HttpMessageHandler The HTTP handler to use for outgoing HTTP requests.
return System

PurgeExpiredAsync() public static method

public static PurgeExpiredAsync ( CloudBlobContainer inboxContainer ) : Task
inboxContainer CloudBlobContainer
return Task

Property Details

MaxLifetimeCeiling public_oe static_oe property

The maximum lifetime an inbox will retain a posted message.
public static TimeSpan,System MaxLifetimeCeiling
return System.TimeSpan