types.nope.INopeCore - ZeMA-gGmbH/NoPE-JS GitHub Wiki

Interface: INopeCore

types.nope.INopeCore

The Core Of NoPE

Author

M.Karkowski

Export

INopeCore

Hierarchy

Properties

communicator

Readonly communicator: ICommunicationBridge

The Communicator which is used

Author

M.Karkowski

Memberof

INopeCore


connectivityManager

Readonly connectivityManager: INopeConnectivityManager

System to manage the connectitivy of other dispatchers.

Author

M.Karkowski

Memberof

INopeCore


dataDistributor

Readonly dataDistributor: IDataPubSubSystem<ITopicSetContentOptions, INopeObservable<unknown, unknown, unknown, ITopicSetContentOptions>, INopeTopicWithDirectAccess<any, any, any>>

Pub-Sub-System to share the properties and their sub properties acorss the entire network.

Author

M.Karkowski

Memberof

INopeCore


disposing

disposing: boolean

A Flag, that indicates, that the core is disposing.

Author

M.Karkowski

Memberof

INopeCore


eventDistributor

Readonly eventDistributor: IPubSubSystem<ITopicSetContentOptions, INopeEventEmitter<unknown, unknown, unknown, ITopicSetContentOptions>, INopeTopic<any, any, any>>

Pub-Sub-System to share the events across the system. Events wont retain after they have been fired. You can just subscribe to events.

Author

M.Karkowski

Memberof

INopeCore


id

Readonly id: string

ID of the Dispatcher

Memberof

INopeCore


instanceManager

Readonly instanceManager: INopeInstanceManager

A Manager, which is capable of creating instance on different Managers in the Network.

Author

M.Karkowski

Memberof

INopeCore


ready

Readonly ready: INopeObservable<boolean, boolean, boolean, IEventAdditionalData>

Flag showing, that the system is ready.

Author

M.Karkowski

Memberof

INopeCore


rpcManager

Readonly rpcManager: INopeRpcManager<IServiceOptions<any>>

Manager to execute and perform different

Author

M.Karkowski

Memberof

INopeCore

Methods

toDescription

toDescription(): { bridge: { connected: boolean ; layers: { considerConnection: boolean ; forwardData: boolean ; id: string ; receivesOwnMessages: boolean }[] } ; connectivityManager: { dispatchers: string[] } ; dataDistributor: { data: any ; publishers: { name: string ; schema: INopeDescriptor }[] ; subscribers: { name: string ; schema: INopeDescriptor }[] } ; eventDistributor: { publishers: { name: string ; schema: INopeDescriptor }[] ; subscribers: { name: string ; schema: INopeDescriptor }[] } ; instanceManager: { constructors: { all: string[] ; internal: string[] } ; instances: { all: INopeModuleDescription[] ; internal: string[] } } ; ready: boolean ; rpcManager: { services: { all: IServiceOptions<any>[] ; internal: { func: (...args: any[]) => Promise<any> ; options: IServiceOptions<any> }[] } ; task: { executing: string[] ; requested: { id: string ; service: string ; target: string ; timeout: any }[] } } } & INopeStatusInfo

Returns

{ bridge: { connected: boolean ; layers: { considerConnection: boolean ; forwardData: boolean ; id: string ; receivesOwnMessages: boolean }[] } ; connectivityManager: { dispatchers: string[] } ; dataDistributor: { data: any ; publishers: { name: string ; schema: INopeDescriptor }[] ; subscribers: { name: string ; schema: INopeDescriptor }[] } ; eventDistributor: { publishers: { name: string ; schema: INopeDescriptor }[] ; subscribers: { name: string ; schema: INopeDescriptor }[] } ; instanceManager: { constructors: { all: string[] ; internal: string[] } ; instances: { all: INopeModuleDescription[] ; internal: string[] } } ; ready: boolean ; rpcManager: { services: { all: IServiceOptions<any>[] ; internal: { func: (...args: any[]) => Promise<any> ; options: IServiceOptions<any> }[] } ; task: { executing: string[] ; requested: { id: string ; service: string ; target: string ; timeout: any }[] } } } & INopeStatusInfo

⚠️ **GitHub.com Fallback** ⚠️