Class AbstractSubscribableChannel
Inheritance
System.Object
AbstractSubscribableChannel
Implements
IServiceNameAware
Assembly: Steeltoe.Messaging.MessagingBase.dll
Syntax
public abstract class AbstractSubscribableChannel : AbstractMessageChannel, IInterceptableChannel, ISubscribableChannel, IMessageChannel
Constructors
|
Edit this page
View Source
AbstractSubscribableChannel(ILogger)
Declaration
public AbstractSubscribableChannel(ILogger logger = null)
Parameters
Type |
Name |
Description |
ILogger |
logger |
|
Properties
|
Edit this page
View Source
SubscriberCount
Declaration
public virtual int SubscriberCount { get; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
Subscribers
Declaration
public virtual ISet<IMessageHandler> Subscribers { get; }
Property Value
Methods
|
Edit this page
View Source
HasSubscription(IMessageHandler)
Declaration
public virtual bool HasSubscription(IMessageHandler handler)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Subscribe(IMessageHandler)
Declaration
public virtual bool Subscribe(IMessageHandler handler)
Parameters
Returns
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Unsubscribe(IMessageHandler)
Declaration
public virtual bool Unsubscribe(IMessageHandler handler)
Parameters
Returns
Type |
Description |
System.Boolean |
|
Implements
IServiceNameAware