Click or drag to resize

Eneter.Messaging.Nodes.Broker Namespace

Publish-subscribe scenarios.
Classes
  ClassDescription
Public classBrokerMessage
Internal message used between DuplexBroker and DuplexBrokerClient.
Public classBrokerMessageReceivedEventArgs
Event arguments of the received message from the broker.
Public classDuplexBrokerFactory
Creates broker and broker client.
Public classPublishInfoEventArgs
Event argument used when the broker published a message.
Public classSubscribeInfoEventArgs
Event argument used when the broker subscribed or unsubscribed a client.
Interfaces
  InterfaceDescription
Public interfaceIDuplexBroker
Broker component.
Public interfaceIDuplexBrokerClient
Publishes and subscribes messages in the broker.
Public interfaceIDuplexBrokerFactory
Declares the factory to create the broker and the broker client.
Delegates
  DelegateDescription
Public delegateAuthorizeBrokerRequestCallback
Delegate is called when broker receives the request to Publish, Subscribe or Unsubscribe from BrokerDuplexClient.
Enumerations
  EnumerationDescription
Public enumerationEBrokerRequest
Specifies the internal broker request inside the BrokerMessage.
Remarks
The broker is the communication component intended for publish-subscribe scenario. It is the component which allows consumers to subscribe for desired message types and allows publishers to send a message to subscribed consumers.

When the broker receives a message from a publisher it finds all consumers subscribed to that message and forwards them the message.