C# Class DotNetWorkQueue.QueueStatus.QueueStatusProviderBase

Base queue status provider
Inheritance: IQueueStatusProvider
显示文件 Open project: blehnen/DotNetWorkQueue

Protected Properties

Property Type Description
ConnectionInformation IConnectionInformation
TimeFactory IGetTimeFactory

Public Methods

Method Description
HandlePath ( string path ) : object

Handles custom URL paths

Optional. Return null to indicate that this path is not handled by this provider. Otherwise, return a serializable object

Protected Methods

Method Description
BuildStatus ( ) : IQueueInformation

Builds the status.

GetData ( ) : IEnumerable

Gets the transport specific data.

QueueStatusProviderBase ( IConnectionInformation connectionInformation, IGetTimeFactory getTimeFactory ) : System

Initializes a new instance of the QueueStatusProviderBase class.

SetError ( Exception error ) : void

Sets the error.

Method Details

BuildStatus() protected method

Builds the status.
protected BuildStatus ( ) : IQueueInformation
return IQueueInformation

GetData() protected abstract method

Gets the transport specific data.
protected abstract GetData ( ) : IEnumerable
return IEnumerable

HandlePath() public method

Handles custom URL paths
Optional. Return null to indicate that this path is not handled by this provider. Otherwise, return a serializable object
public HandlePath ( string path ) : object
path string The path.
return object

QueueStatusProviderBase() protected method

Initializes a new instance of the QueueStatusProviderBase class.
protected QueueStatusProviderBase ( IConnectionInformation connectionInformation, IGetTimeFactory getTimeFactory ) : System
connectionInformation IConnectionInformation The connection information.
getTimeFactory IGetTimeFactory The get time factory.
return System

SetError() protected method

Sets the error.
protected SetError ( Exception error ) : void
error System.Exception The error.
return void

Property Details

ConnectionInformation protected_oe property

The connection information
protected IConnectionInformation ConnectionInformation
return IConnectionInformation

TimeFactory protected_oe property

The time factory
protected IGetTimeFactory TimeFactory
return IGetTimeFactory