C# Class NServiceBus.Unicast.Subscriptions.AdoDotNet.AdoNetSubscriptionStorage

Inheritance: ISubscriptionStorage, IDisposable
Mostra file Open project: machine/machine.mta

Public Methods

Method Description
AdoNetSubscriptionStorage ( IAdoNetSubscriptionSystem subscriptionSystem ) : System
Dispose ( ) : void
GetSubscribersForMessage ( IList messageTypes ) : IList
Init ( ) : void
Subscribe ( string address, IList messageTypes ) : void
Unsubscribe ( string address, IList messageTypes ) : void

Private Methods

Method Description
CreateCommand ( IDbConnection connection ) : IDbCommand
CreateConnection ( ) : IDbConnection
CreateDeleteCommand ( IDbConnection connection ) : IDbCommand
CreateInsertCommand ( IDbConnection connection ) : IDbCommand
CreateSelectByMessageTypeCommand ( IDbConnection connection ) : IDbCommand
CreateSelectCommand ( IDbConnection connection ) : IDbCommand
DeleteSubscription ( IDbConnection connection, string address, string messageType ) : void
HasSubscription ( IDbConnection connection, string address, string messageType ) : bool
InsertSubscription ( IDbConnection connection, string address, string messageType ) : void
TableName ( ) : string

Method Details

AdoNetSubscriptionStorage() public method

public AdoNetSubscriptionStorage ( IAdoNetSubscriptionSystem subscriptionSystem ) : System
subscriptionSystem IAdoNetSubscriptionSystem
return System

Dispose() public method

public Dispose ( ) : void
return void

GetSubscribersForMessage() public method

public GetSubscribersForMessage ( IList messageTypes ) : IList
messageTypes IList
return IList

Init() public method

public Init ( ) : void
return void

Subscribe() public method

public Subscribe ( string address, IList messageTypes ) : void
address string
messageTypes IList
return void

Unsubscribe() public method

public Unsubscribe ( string address, IList messageTypes ) : void
address string
messageTypes IList
return void