Table of Contents

Interface IMessageBrokerMessagePublisher

Namespace
LfrlAnvil.MessageBroker.Server
Assembly
LfrlAnvil.MessageBroker.Server.dll

Represents a message publisher.

public interface IMessageBrokerMessagePublisher

Properties

Channel

MessageBrokerChannel instance to which the client is bound to as a publisher.

MessageBrokerChannel Channel { get; }

Property Value

MessageBrokerChannel

Client

MessageBrokerRemoteClient instance to which this publisher belongs to.

MessageBrokerRemoteClient? Client { get; }

Property Value

MessageBrokerRemoteClient

ClientId

Client's unique identifier assigned by the server.

int ClientId { get; }

Property Value

int

ClientName

Client's unique name.

string ClientName { get; }

Property Value

string

IsClientEphemeral

Specifies whether the client is ephemeral.

bool IsClientEphemeral { get; }

Property Value

bool

Stream

MessageBrokerStream instance through which this publisher will push messages to subscribers.

MessageBrokerStream Stream { get; }

Property Value

MessageBrokerStream