Class AbstractEndpoint
Inheritance
System.Object
AbstractEndpoint
Implements
IServiceNameAware
Assembly: Steeltoe.Integration.IntegrationBase.dll
Syntax
public abstract class AbstractEndpoint : ISmartLifecycle
Constructors
|
Edit this page
View Source
AbstractEndpoint(IApplicationContext)
Declaration
protected AbstractEndpoint(IApplicationContext context)
Parameters
Type |
Name |
Description |
IApplicationContext |
context |
|
Properties
|
Edit this page
View Source
ApplicationContext
Declaration
public IApplicationContext ApplicationContext { get; }
Property Value
Type |
Description |
IApplicationContext |
|
|
Edit this page
View Source
ComponentName
Declaration
public virtual string ComponentName { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
ComponentType
Declaration
public virtual string ComponentType { get; set; }
Property Value
Type |
Description |
System.String |
|
|
Edit this page
View Source
IntegrationServices
Declaration
public IIntegrationServices IntegrationServices { get; }
Property Value
|
Edit this page
View Source
IsAutoStartup
Declaration
public bool IsAutoStartup { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
IsRunning
Declaration
public bool IsRunning { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
|
Edit this page
View Source
Phase
Declaration
public int Phase { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
|
Edit this page
View Source
ServiceName
Declaration
public virtual string ServiceName { get; set; }
Property Value
Type |
Description |
System.String |
|
Methods
|
Edit this page
View Source
DoStart()
Declaration
protected abstract Task DoStart()
Returns
|
Edit this page
View Source
DoStop()
Declaration
protected abstract Task DoStop()
Returns
|
Edit this page
View Source
DoStop(Action)
Declaration
protected virtual async Task DoStop(Action callback)
Parameters
Type |
Name |
Description |
Action |
callback |
|
Returns
|
Edit this page
View Source
Start()
Declaration
Returns
|
Edit this page
View Source
Stop()
Declaration
Returns
|
Edit this page
View Source
Stop(Action)
Declaration
public Task Stop(Action callback)
Parameters
Type |
Name |
Description |
Action |
callback |
|
Returns
Implements
IServiceNameAware