Interface IBinding
Represents a binding between an input or output and an adapter endpoint that connects via a Binder.The binding could be for a consumer or a producer. A consumer binding represents a connection from an adapter to an input. A producer binding represents a connection from an output to an adapter.
Namespace: Steeltoe.Stream.Binder
Assembly: Steeltoe.Stream.Abstractions.dll
Syntax
public interface IBinding : IPausable
Properties
| Edit this page View SourceBindingName
Gets the name of the target for this binding (i.e., channel name).
Declaration
string BindingName { get; }
Property Value
Type | Description |
---|---|
System.String |
ExtendedInfo
Gets the extended info associated with the binding
Declaration
IDictionary<string, object> ExtendedInfo { get; }
Property Value
Type | Description |
---|---|
IDictionary<System.String, System.Object> |
IsInput
Gets a value indicating whether this binding is an input binding
Declaration
bool IsInput { get; }
Property Value
Type | Description |
---|---|
System.Boolean |
Name
Gets the name of the destination for this binding.
Declaration
string Name { get; }
Property Value
Type | Description |
---|---|
System.String |
Methods
| Edit this page View SourceUnbind()
Unbinds the target component represented by this instance and stops any active components
Declaration
Task Unbind()
Returns
Type | Description |
---|---|
Task | task to signal results |