C# Class ppatierno.AzureSBLite.Messaging.Amqp.AmqpMessagingFactory

Factory for handling AMQP connection
Inheritance: MessagingFactory
Show file Open project: ppatierno/azuresblite Class Usage Examples

Private Properties

Property Type Description
CreateReceiver MessageReceiver
Open bool
PutCbsToken bool

Public Methods

Method Description
AmqpMessagingFactory ( Uri baseAddress, AmqpTransportSettings settings ) : System

Constructor

AmqpMessagingFactory ( string address ) : System

Constructor

Close ( ) : void
CreateEventHubClient ( string path ) : EventHubClient
CreateMessageReceiver ( string path ) : MessageReceiver
CreateMessageReceiver ( string path, ReceiveMode receiveMode ) : MessageReceiver
CreateMessageSender ( string path ) : MessageSender
CreateQueueClient ( string path ) : QueueClient
CreateQueueClient ( string path, ReceiveMode receiveMode ) : QueueClient
CreateSubscriptionClient ( string topicPath, string name ) : SubscriptionClient
CreateSubscriptionClient ( string topicPath, string name, ReceiveMode receiveMode ) : SubscriptionClient
CreateTopicClient ( string path ) : TopicClient

Private Methods

Method Description
CreateReceiver ( string path, string consumerGroupName, string partitionId, string startingOffset, System.DateTime startingDateTimeUtc ) : MessageReceiver
Open ( string entity ) : bool
PutCbsToken ( string shareAccessSignature, string entity ) : bool

Send Claim Based Security (CBS) token

Method Details

AmqpMessagingFactory() public method

Constructor
public AmqpMessagingFactory ( Uri baseAddress, AmqpTransportSettings settings ) : System
baseAddress Uri Base address to service bus
settings AmqpTransportSettings AMQP transport settings
return System

AmqpMessagingFactory() public method

Constructor
public AmqpMessagingFactory ( string address ) : System
address string Base address to service bus
return System

Close() public method

public Close ( ) : void
return void

CreateEventHubClient() public method

public CreateEventHubClient ( string path ) : EventHubClient
path string
return EventHubClient

CreateMessageReceiver() public method

public CreateMessageReceiver ( string path ) : MessageReceiver
path string
return MessageReceiver

CreateMessageReceiver() public method

public CreateMessageReceiver ( string path, ReceiveMode receiveMode ) : MessageReceiver
path string
receiveMode ReceiveMode
return MessageReceiver

CreateMessageSender() public method

public CreateMessageSender ( string path ) : MessageSender
path string
return MessageSender

CreateQueueClient() public method

public CreateQueueClient ( string path ) : QueueClient
path string
return QueueClient

CreateQueueClient() public method

public CreateQueueClient ( string path, ReceiveMode receiveMode ) : QueueClient
path string
receiveMode ReceiveMode
return QueueClient

CreateSubscriptionClient() public method

public CreateSubscriptionClient ( string topicPath, string name ) : SubscriptionClient
topicPath string
name string
return SubscriptionClient

CreateSubscriptionClient() public method

public CreateSubscriptionClient ( string topicPath, string name, ReceiveMode receiveMode ) : SubscriptionClient
topicPath string
name string
receiveMode ReceiveMode
return SubscriptionClient

CreateTopicClient() public method

public CreateTopicClient ( string path ) : TopicClient
path string
return TopicClient