Click or drag to resize

IServiceBusService Interface

Defines a service bus for event-based messaging between disjoint systems.

Namespace: GSF.ServiceBus
Assembly: GSF.ServiceBus (in GSF.ServiceBus.dll) Version: 2.4.181-beta
Syntax
[ServiceContractAttribute(SessionMode = SessionMode.Allowed, CallbackContract = typeof(IServiceBusServiceCallback))]
public interface IServiceBusService : ISelfHostingService, 
	IAdapter, ISupportLifecycle, IDisposable, IProvideStatus, IPersistSettings
View Source

The IServiceBusService type exposes the following members.

Properties
 NameDescription
Public propertyContractInterface Gets or sets the FullName of the contract interface implemented by the web service.
(Inherited from ISelfHostingService)
Public propertyDomain Gets the AppDomain in which the IAdapter is executing.
(Inherited from IAdapter)
Public propertyEnabled Gets or sets a boolean value that indicates whether the object is enabled.
(Inherited from ISupportLifecycle)
Public propertyEndpoints Gets or sets a semicolon delimited list of URIs where the web service can be accessed.
(Inherited from ISelfHostingService)
Public propertyHostFile Gets or sets the path to the file where the IAdapter is housed.
(Inherited from IAdapter)
Public propertyIsDisposed Gets a flag that indicates whether the object has been disposed.
(Inherited from ISupportLifecycle)
Public propertyMemoryUsage Gets the memory utilization of the IAdapter in bytes if executing in a separate AppDomain, otherwise NaN.
(Inherited from IAdapter)
Public propertyName Gets the name of the object providing status information.
(Inherited from IProvideStatus)
Public propertyPersistSettings Determines whether the object settings are to be persisted to the config file.
(Inherited from IPersistSettings)
Public propertyProcessorUsage Gets the % processor utilization of the IAdapter if executing in a separate AppDomain otherwise NaN.
(Inherited from IAdapter)
Public propertyPublishMetadata Gets or sets a boolean value that indicates whether web service metadata is to made available at all web service Endpoints.
(Inherited from ISelfHostingService)
Public propertySecurityPolicy Gets or sets the FullName of IAuthorizationPolicy to be used for securing all web service Endpoints.
(Inherited from ISelfHostingService)
Public propertyServiceHost Gets the ServiceHost hosting the web service.
(Inherited from ISelfHostingService)
Public propertySettingsCategory Gets or sets the category name under which the object settings are persisted in the config file.
(Inherited from IPersistSettings)
Public propertySingleton Gets or sets a boolean value that indicates whether the ServiceHost will use the current instance of the web service for processing requests or base the web service instance creation on InstanceContextMode specified in its ServiceBehaviorAttribute.
(Inherited from ISelfHostingService)
Public propertyStatus Gets the current status details about object providing status information.
(Inherited from IProvideStatus)
Public propertyTypeName Gets or sets the text representation of the IAdapter's TypeName.
(Inherited from IAdapter)
Top
Methods
 NameDescription
Public methodDisposePerforms application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.
(Inherited from IDisposable)
Public methodGetClients Gets a list of all clients connected to the ServiceBusService.
Public methodGetLatestMessage Gets the latest Message distributed to the subscribers of the specified topic.
Public methodGetQueues Gets a list of all Queues registered on the ServiceBusService.
Public methodGetTopics Gets a list of all Topics registered on the ServiceBusService.
Public methodInitialize Initializes the state of the object.
(Inherited from ISupportLifecycle)
Public methodLoadSettings Loads saved settings from the config file.
(Inherited from IPersistSettings)
Public methodPublish Sends the message to the ServiceBusService for distribution amongst its registered consumers.
Public methodRegister Registers with the ServiceBusService to produce or consume Messages.
Public methodSaveSettings Saves settings to the config file.
(Inherited from IPersistSettings)
Public methodUnregister Unregisters a previous registration with the ServiceBusService to produce or consume Messages
Top
Events
 NameDescription
Public eventDisposed Raised after the source object has been properly disposed.
(Inherited from ISupportLifecycle)
Public eventExecutionException Occurs when the IAdapter encounters an Exception during execution.
(Inherited from IAdapter)
Public eventServiceHostCreated Occurs when the ServiceHost has been created with the specified Endpoints.
(Inherited from ISelfHostingService)
Public eventServiceHostStarted Occurs when the ServiceHost can process requests via all of its endpoints.
(Inherited from ISelfHostingService)
Public eventServiceProcessException Occurs when an Exception is encountered when processing a request.
(Inherited from ISelfHostingService)
Public eventStatusUpdate Occurs when the IAdapter wants to provide a status update.
(Inherited from IAdapter)
Top
See Also