Method | Description | |
---|---|---|
GetClients ( ) : ICollection |
Gets a list of all clients connected to the ServiceBusService.
|
|
GetLatestMessage ( GSF.ServiceBus.RegistrationRequest topic ) : GSF.ServiceBus.Message |
Gets the latest Message distributed to the subscribers of the specified topic.
|
|
GetQueues ( ) : ICollection |
Gets a list of all MessageType.Queues registered on the ServiceBusService.
|
|
GetTopics ( ) : ICollection |
Gets a list of all MessageType.Topics registered on the ServiceBusService.
|
|
Initialize ( ) : void |
Initializes the ServiceBusService.
|
|
LoadSettings ( ) : void |
Loads saved ServiceBusService settings from the config file if the GSF.Adapters.Adapter.PersistSettings property is set to true.
|
|
Publish ( GSF.ServiceBus.Message message ) : void |
Sends the message to the ServiceBusService for distribution amongst its registered consumers.
|
|
Register ( GSF.ServiceBus.RegistrationRequest request ) : void |
Registers with the ServiceBusService to produce or consume Messages.
|
|
SaveSettings ( ) : void |
Saves ServiceBusService settings to the config file if the GSF.Adapters.Adapter.PersistSettings property is set to true.
|
|
Unregister ( GSF.ServiceBus.RegistrationRequest request ) : void |
Unregisters a previous registration with the ServiceBusService to produce or consume Messages
|
Method | Description | |
---|---|---|
Dispose ( bool disposing ) : void |
Releases the unmanaged resources used by the ServiceBusService object and optionally releases the managed resources.
|
|
OnServiceHostCreated ( ) : void |
Raises the SelfHostingService.ServiceHostCreated event.
|
Method | Description | |
---|---|---|
DisconnectClient ( string clientId ) : void | ||
LoadMessages ( ) : void | ||
OnChannelClosing ( object sender, |
||
OnChannelFaulted ( object sender, |
||
OnProcessException ( object sender, EventArgs |
||
PublishComplete ( PublishContext context ) : void | ||
PublishMessages ( PublishContext contexts ) : void | ||
SaveMessages ( ) : void | ||
ServiceBusService ( ) : System |
protected Dispose ( bool disposing ) : void | ||
disposing | bool | true to release both managed and unmanaged resources; false to release only unmanaged resources. |
return | void |
public GetLatestMessage ( GSF.ServiceBus.RegistrationRequest topic ) : GSF.ServiceBus.Message | ||
topic | GSF.ServiceBus.RegistrationRequest | The topic |
return | GSF.ServiceBus.Message |
public Publish ( GSF.ServiceBus.Message message ) : void | ||
message | GSF.ServiceBus.Message | The |
return | void |
public Register ( GSF.ServiceBus.RegistrationRequest request ) : void | ||
request | GSF.ServiceBus.RegistrationRequest | An |
return | void |
public Unregister ( GSF.ServiceBus.RegistrationRequest request ) : void | ||
request | GSF.ServiceBus.RegistrationRequest | The |
return | void |