C# 클래스 ServiceBusMQ.SbmqSystem

파일 보기 프로젝트 열기: danielHalan/ServiceBusMQManager 1 사용 예제들

공개 프로퍼티들

프로퍼티 타입 설명
MAX_ITEMS_PER_QUEUE int

보호된 프로퍼티들

프로퍼티 타입 설명
_finishedLoadingQueues EventHandler
_itemsChanged EventHandler
_itemsLock object
_log System.Logger
_startedLoadingQueues EventHandler

Private Properties

프로퍼티 타입 설명
CreateServiceBusManager void
Initialize void
InvokeWhileMonitoringPaused void
MonitorStateChanged void
SbmqSystem System
SbmqmDomain_AssemblyResolve System.Reflection.Assembly
System_ErrorOccured void
System_ItemsChanged void
System_WarningOccured void

공개 메소드들

메소드 설명
ClearFilter ( ) : void
ClearProcessedItems ( ) : void
Create ( ) : SbmqSystem
ExecMonitor ( object prm ) : void
FilterItems ( string str ) : void
GetAvailableCommands ( bool suppressErrors = false ) : System.Type[]
GetAvailableCommands ( string _asmPath, ServiceBusMQ.CommandDefinition cmdDef, bool suppressErrors = false ) : System.Type[]
GetAvailableCommands ( string messageBus, string version, string queueType, string asmPaths, ServiceBusMQ.CommandDefinition cmdDef, bool suppressErrors ) : System.Type[]
GetDiscoveryService ( ) : IServiceBusDiscovery
GetDiscoveryService ( string messageBus, string version, string queueType ) : IServiceBusDiscovery
GetMessageSubscriptions ( object>.Dictionary connectionSettings, IEnumerable queues ) : ServiceBusMQ.MessageSubscription[]
GetMessageSubscriptions ( ServerConfig3 server ) : ServiceBusMQ.MessageSubscription[]
GetUnprocessedItemsCount ( QueueType qt ) : uint
MoveAllErrorMessagesToOriginQueue ( string errorQueue ) : Task
MoveErrorMessageToOriginQueue ( QueueItem itm ) : Task
PauseMonitoring ( ) : void
PurgeAllMessages ( ) : Task
PurgeErrorAllMessages ( ) : Task
PurgeErrorMessages ( string queueName ) : Task
PurgeMessage ( QueueItem itm ) : void
PurgeMessages ( IEnumerable itms ) : Task
RefreshUnprocessedQueueItemList ( ) : bool
ResumeMonitoring ( ) : void
RetrieveProcessedQueueItems ( System.TimeSpan timeSpan ) : void
SendCommand ( object>.Dictionary connectionStrings, string destinationQueue, object message ) : void
StartMonitoring ( ) : void
StopMonitoring ( ) : void
SwitchServiceBus ( string serviceBus, string version, string queueType ) : void

보호된 메소드들

메소드 설명
OnError ( ServiceBusMQ.Manager.ErrorArgs arg ) : void
OnError ( string message, Exception exception = null, bool fatal = false ) : void
OnFinishedLoadingQueues ( ) : void
OnItemsChanged ( ItemChangeOrigin origin ) : void
OnStartedLoadingQueues ( ) : void
OnWarning ( ServiceBusMQ.Manager.WarningArgs arg ) : void

비공개 메소드들

메소드 설명
CreateServiceBusManager ( string serviceBus, string version, string queueType ) : void
Initialize ( ) : void
InvokeWhileMonitoringPaused ( System.Action a ) : void
MonitorStateChanged ( QueueType type, bool value ) : void
SbmqSystem ( ) : System
SbmqmDomain_AssemblyResolve ( object sender, ResolveEventArgs args ) : Assembly
System_ErrorOccured ( object sender, ServiceBusMQ.Manager.ErrorArgs e ) : void
System_ItemsChanged ( object sender, EventArgs e ) : void
System_WarningOccured ( object sender, ServiceBusMQ.Manager.WarningArgs e ) : void

메소드 상세

ClearFilter() 공개 메소드

public ClearFilter ( ) : void
리턴 void

ClearProcessedItems() 공개 메소드

public ClearProcessedItems ( ) : void
리턴 void

Create() 공개 정적인 메소드

public static Create ( ) : SbmqSystem
리턴 SbmqSystem

ExecMonitor() 공개 메소드

public ExecMonitor ( object prm ) : void
prm object
리턴 void

FilterItems() 공개 메소드

public FilterItems ( string str ) : void
str string
리턴 void

GetAvailableCommands() 공개 메소드

public GetAvailableCommands ( bool suppressErrors = false ) : System.Type[]
suppressErrors bool
리턴 System.Type[]

GetAvailableCommands() 공개 메소드

public GetAvailableCommands ( string _asmPath, ServiceBusMQ.CommandDefinition cmdDef, bool suppressErrors = false ) : System.Type[]
_asmPath string
cmdDef ServiceBusMQ.CommandDefinition
suppressErrors bool
리턴 System.Type[]

GetAvailableCommands() 공개 메소드

public GetAvailableCommands ( string messageBus, string version, string queueType, string asmPaths, ServiceBusMQ.CommandDefinition cmdDef, bool suppressErrors ) : System.Type[]
messageBus string
version string
queueType string
asmPaths string
cmdDef ServiceBusMQ.CommandDefinition
suppressErrors bool
리턴 System.Type[]

GetDiscoveryService() 공개 메소드

public GetDiscoveryService ( ) : IServiceBusDiscovery
리턴 IServiceBusDiscovery

GetDiscoveryService() 공개 메소드

public GetDiscoveryService ( string messageBus, string version, string queueType ) : IServiceBusDiscovery
messageBus string
version string
queueType string
리턴 IServiceBusDiscovery

GetMessageSubscriptions() 공개 메소드

public GetMessageSubscriptions ( object>.Dictionary connectionSettings, IEnumerable queues ) : ServiceBusMQ.MessageSubscription[]
connectionSettings object>.Dictionary
queues IEnumerable
리턴 ServiceBusMQ.MessageSubscription[]

GetMessageSubscriptions() 공개 메소드

public GetMessageSubscriptions ( ServerConfig3 server ) : ServiceBusMQ.MessageSubscription[]
server ServerConfig3
리턴 ServiceBusMQ.MessageSubscription[]

GetUnprocessedItemsCount() 공개 메소드

public GetUnprocessedItemsCount ( QueueType qt ) : uint
qt QueueType
리턴 uint

MoveAllErrorMessagesToOriginQueue() 공개 메소드

public MoveAllErrorMessagesToOriginQueue ( string errorQueue ) : Task
errorQueue string
리턴 Task

MoveErrorMessageToOriginQueue() 공개 메소드

public MoveErrorMessageToOriginQueue ( QueueItem itm ) : Task
itm QueueItem
리턴 Task

OnError() 보호된 메소드

protected OnError ( ServiceBusMQ.Manager.ErrorArgs arg ) : void
arg ServiceBusMQ.Manager.ErrorArgs
리턴 void

OnError() 보호된 메소드

protected OnError ( string message, Exception exception = null, bool fatal = false ) : void
message string
exception System.Exception
fatal bool
리턴 void

OnFinishedLoadingQueues() 보호된 메소드

protected OnFinishedLoadingQueues ( ) : void
리턴 void

OnItemsChanged() 보호된 메소드

protected OnItemsChanged ( ItemChangeOrigin origin ) : void
origin ItemChangeOrigin
리턴 void

OnStartedLoadingQueues() 보호된 메소드

protected OnStartedLoadingQueues ( ) : void
리턴 void

OnWarning() 보호된 메소드

protected OnWarning ( ServiceBusMQ.Manager.WarningArgs arg ) : void
arg ServiceBusMQ.Manager.WarningArgs
리턴 void

PauseMonitoring() 공개 메소드

public PauseMonitoring ( ) : void
리턴 void

PurgeAllMessages() 공개 메소드

public PurgeAllMessages ( ) : Task
리턴 Task

PurgeErrorAllMessages() 공개 메소드

public PurgeErrorAllMessages ( ) : Task
리턴 Task

PurgeErrorMessages() 공개 메소드

public PurgeErrorMessages ( string queueName ) : Task
queueName string
리턴 Task

PurgeMessage() 공개 메소드

public PurgeMessage ( QueueItem itm ) : void
itm QueueItem
리턴 void

PurgeMessages() 공개 메소드

public PurgeMessages ( IEnumerable itms ) : Task
itms IEnumerable
리턴 Task

RefreshUnprocessedQueueItemList() 공개 메소드

public RefreshUnprocessedQueueItemList ( ) : bool
리턴 bool

ResumeMonitoring() 공개 메소드

public ResumeMonitoring ( ) : void
리턴 void

RetrieveProcessedQueueItems() 공개 메소드

public RetrieveProcessedQueueItems ( System.TimeSpan timeSpan ) : void
timeSpan System.TimeSpan
리턴 void

SendCommand() 공개 메소드

public SendCommand ( object>.Dictionary connectionStrings, string destinationQueue, object message ) : void
connectionStrings object>.Dictionary
destinationQueue string
message object
리턴 void

StartMonitoring() 공개 메소드

public StartMonitoring ( ) : void
리턴 void

StopMonitoring() 공개 메소드

public StopMonitoring ( ) : void
리턴 void

SwitchServiceBus() 공개 메소드

public SwitchServiceBus ( string serviceBus, string version, string queueType ) : void
serviceBus string
version string
queueType string
리턴 void

프로퍼티 상세

MAX_ITEMS_PER_QUEUE 공개적으로 정적으로 프로퍼티

public static int MAX_ITEMS_PER_QUEUE
리턴 int

_finishedLoadingQueues 보호되어 있는 프로퍼티

protected EventHandler _finishedLoadingQueues
리턴 EventHandler

_itemsChanged 보호되어 있는 프로퍼티

protected EventHandler _itemsChanged
리턴 EventHandler

_itemsLock 보호되어 있는 프로퍼티

protected object _itemsLock
리턴 object

_log 보호되어 있는 프로퍼티

protected Logger,System _log
리턴 System.Logger

_startedLoadingQueues 보호되어 있는 프로퍼티

protected EventHandler _startedLoadingQueues
리턴 EventHandler