Class MessageBrokerChannel
- Namespace
- LfrlAnvil.MessageBroker.Server
- Assembly
- LfrlAnvil.MessageBroker.Server.dll
Represents a message broker channel, which allows clients to bind to it as either a publisher or a listener.
public sealed class MessageBrokerChannel
- Inheritance
-
MessageBrokerChannel
- Inherited Members
Properties
Id
Channel's unique identifier assigned by the server.
public int Id { get; }
Property Value
Listeners
Collection of MessageBrokerChannelListenerBinding instances attached to this channel, identified by client ids.
public MessageBrokerChannelListenerBindingCollection Listeners { get; }
Property Value
Name
Channel's unique name.
public string Name { get; }
Property Value
Publishers
Collection of MessageBrokerChannelPublisherBinding instances attached to this channel, identified by client ids.
public MessageBrokerChannelPublisherBindingCollection Publishers { get; }
Property Value
Server
MessageBrokerServer instance that owns this channel.
public MessageBrokerServer Server { get; }
Property Value
State
Current channel's state.
public MessageBrokerChannelState State { get; }
Property Value
Remarks
See MessageBrokerChannelState for more information.
Methods
ToString()
Returns a string representation of this MessageBrokerChannel instance.
[Pure]
public override string ToString()
Returns
- string
String representation.