Class GlueDaemon
Provides default implementation for IGlue. This is the root context for all other glue objects
Inheritance
System.Object
GlueDaemon
Implements
System.IDisposable
Inherited Members
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
Assembly: Azos.dll
Syntax
[ConfigMacroContext]
public sealed class GlueDaemon : DaemonWithInstrumentation<IApplicationComponent>, IDaemon, IDaemonView, INamed, IGlueImplementation, IGlue, IApplicationComponent, ILocalizedTimeProvider, IDisposable, IConfigurable, IInstrumentable, IExternallyParameterized
Constructors
GlueDaemon(IApplicationComponent)
Declaration
public GlueDaemon(IApplicationComponent director)
Parameters
GlueDaemon(IApplication)
Declaration
public GlueDaemon(IApplication app)
Parameters
Fields
CONFIG_BINDING_SECTION
Declaration
public const string CONFIG_BINDING_SECTION = "binding"
Field Value
Type |
Description |
System.String |
|
CONFIG_BINDINGS_SECTION
Declaration
public const string CONFIG_BINDINGS_SECTION = "bindings"
Field Value
Type |
Description |
System.String |
|
CONFIG_PROVIDER_ATTR
Declaration
public const string CONFIG_PROVIDER_ATTR = "provider"
Field Value
Type |
Description |
System.String |
|
CONFIG_PROVIDER_SECTION
Declaration
public const string CONFIG_PROVIDER_SECTION = "provider"
Field Value
Type |
Description |
System.String |
|
CONFIG_PROVIDERS_SECTION
Declaration
public const string CONFIG_PROVIDERS_SECTION = "providers"
Field Value
Type |
Description |
System.String |
|
CONFIG_SERVER_SECTION
Declaration
public const string CONFIG_SERVER_SECTION = "server"
Field Value
Type |
Description |
System.String |
|
CONFIG_SERVERS_SECTION
Declaration
public const string CONFIG_SERVERS_SECTION = "servers"
Field Value
Type |
Description |
System.String |
|
CONFIG_TRANSPORT_SECTION
Declaration
public const string CONFIG_TRANSPORT_SECTION = "transport"
Field Value
Type |
Description |
System.String |
|
DEFAULT_CLIENT_LOG_LEVEL
Declaration
public const MessageType DEFAULT_CLIENT_LOG_LEVEL = MessageType.Error
Field Value
DEFAULT_DISPATCH_TIMEOUT_MS
Declaration
public const int DEFAULT_DISPATCH_TIMEOUT_MS = 100
Field Value
Type |
Description |
System.Int32 |
|
DEFAULT_SERVER_INSTANCE_LOCK_TIMEOUT_MS
Declaration
public const int DEFAULT_SERVER_INSTANCE_LOCK_TIMEOUT_MS = 10000
Field Value
Type |
Description |
System.Int32 |
|
DEFAULT_SERVER_LOG_LEVEL
Declaration
public const MessageType DEFAULT_SERVER_LOG_LEVEL = MessageType.Error
Field Value
DEFAULT_TIMEOUT_MS
Declaration
public const int DEFAULT_TIMEOUT_MS = 20000
Field Value
Type |
Description |
System.Int32 |
|
MINIMUM_SERVER_INSTANCE_LOCK_TIMEOUT_MS
Declaration
public const int MINIMUM_SERVER_INSTANCE_LOCK_TIMEOUT_MS = 5
Field Value
Type |
Description |
System.Int32 |
|
Properties
Active
Declaration
public bool Active { get; }
Property Value
Type |
Description |
System.Boolean |
|
BindingConfigurations
Declaration
public IEnumerable<IConfigSectionNode> BindingConfigurations { get; }
Property Value
Bindings
Declaration
public IRegistry<Binding> Bindings { get; }
Property Value
BindingsConfigurationSection
Declaration
public IConfigSectionNode BindingsConfigurationSection { get; }
Property Value
ClientLogLevel
Declaration
[ExternalParameter(new string[]{"glue", "instrumentation"})]
public MessageType ClientLogLevel { get; set; }
Property Value
ClientMsgInspectors
Declaration
public OrderedRegistry<IClientMsgInspector> ClientMsgInspectors { get; }
Property Value
ComponentCommonName
Declaration
public override string ComponentCommonName { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
ComponentLogTopic
Declaration
public override string ComponentLogTopic { get; }
Property Value
Type |
Description |
System.String |
|
Overrides
DefaultDispatchTimeoutMs
Declaration
[ExternalParameter(new string[]{"glue"})]
public int DefaultDispatchTimeoutMs { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
DefaultTimeoutMs
Declaration
[ExternalParameter(new string[]{"glue"})]
public int DefaultTimeoutMs { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
GlueConfiguration
Declaration
public IConfigSectionNode GlueConfiguration { get; }
Property Value
InstrumentationEnabled
Implements IInstrumentable
Declaration
[Config(Default = false)]
[ExternalParameter(new string[]{"glue", "instrumentation"})]
public override bool InstrumentationEnabled { get; set; }
Property Value
Type |
Description |
System.Boolean |
|
Overrides
Azos.Apps.DaemonWithInstrumentation<Azos.Apps.IApplicationComponent>.InstrumentationEnabled
ProviderConfigurations
Declaration
public IEnumerable<IConfigSectionNode> ProviderConfigurations { get; }
Property Value
Providers
Declaration
public IRegistry<Provider> Providers { get; }
Property Value
ProvidersConfigurationSection
Declaration
public IConfigSectionNode ProvidersConfigurationSection { get; }
Property Value
ServerConfigurations
Declaration
public IEnumerable<IConfigSectionNode> ServerConfigurations { get; }
Property Value
ServerInstanceLockTimeoutMs
Declaration
[ExternalParameter(new string[]{"glue"})]
public int ServerInstanceLockTimeoutMs { get; set; }
Property Value
Type |
Description |
System.Int32 |
|
ServerLogLevel
Declaration
[ExternalParameter(new string[]{"glue", "instrumentation"})]
public MessageType ServerLogLevel { get; set; }
Property Value
ServerMsgInspectors
Declaration
public OrderedRegistry<IServerMsgInspector> ServerMsgInspectors { get; }
Property Value
Servers
Declaration
public IRegistry<ServerEndPoint> Servers { get; }
Property Value
ServersConfigurationSection
Declaration
public IConfigSectionNode ServersConfigurationSection { get; }
Property Value
Methods
ClientDeliverAsyncResponse(ResponseMsg)
Declaration
public void ClientDeliverAsyncResponse(ResponseMsg response)
Parameters
ClientDispatchedRequest(ClientEndPoint, RequestMsg, CallSlot)
Declaration
public void ClientDispatchedRequest(ClientEndPoint client, RequestMsg request, CallSlot callSlot)
Parameters
ClientDispatchingRequest(ClientEndPoint, RequestMsg)
Declaration
public RequestMsg ClientDispatchingRequest(ClientEndPoint client, RequestMsg request)
Parameters
Returns
Declaration
protected override void DoConfigure(IConfigSectionNode node)
Parameters
Overrides
DoSignalStop()
Declaration
protected override void DoSignalStop()
Overrides
DoStart()
Declaration
protected override void DoStart()
Overrides
DoWaitForCompleteStop()
Declaration
protected override void DoWaitForCompleteStop()
Overrides
GetNodeBinding(Node)
Declaration
public Binding GetNodeBinding(Node node)
Parameters
Type |
Name |
Description |
Node |
node |
|
Returns
GetNodeBinding(String)
Declaration
public Binding GetNodeBinding(string node)
Parameters
Type |
Name |
Description |
System.String |
node |
|
Returns
RegisterBinding(Binding)
Declaration
public void RegisterBinding(Binding b)
Parameters
RegisterProvider(Provider)
Declaration
public void RegisterProvider(Provider p)
Parameters
RegisterServerEndpoint(ServerEndPoint)
Declaration
public void RegisterServerEndpoint(ServerEndPoint ep)
Parameters
ServerDispatchRequest(RequestMsg)
Declaration
public void ServerDispatchRequest(RequestMsg request)
Parameters
ServerHandleRequest(RequestMsg)
Declaration
public ResponseMsg ServerHandleRequest(RequestMsg request)
Parameters
Returns
ServerHandleRequestFailure(FID, Boolean, Exception, Object)
Declaration
public ResponseMsg ServerHandleRequestFailure(FID reqID, bool oneWay, Exception failure, object bindingSpecCtx)
Parameters
Type |
Name |
Description |
FID |
reqID |
|
System.Boolean |
oneWay |
|
System.Exception |
failure |
|
System.Object |
bindingSpecCtx |
|
Returns
SubscribeCallSlotWithTaskReactor(CallSlot)
Declaration
public void SubscribeCallSlotWithTaskReactor(CallSlot call)
Parameters
UnregisterBinding(Binding)
Declaration
public void UnregisterBinding(Binding b)
Parameters
UnregisterProvider(Provider)
Declaration
public void UnregisterProvider(Provider p)
Parameters
UnregisterServerEndpoint(ServerEndPoint)
Declaration
public void UnregisterServerEndpoint(ServerEndPoint ep)
Parameters
Implements
System.IDisposable
Extension Methods