How can I integrate my component into the stack #109
-
I implemented a component named cyfs-group, and I want to integrate it into the cyfs-stack and output the similar entry as other modules(NON, router_handles, eg): cyfs_stack.group_manager(); but it depends the NON in cyfs-stack, Now, I can only define a trait, and implement that in cyfs-stack. It looks strange with other modules. example:
I think it's a good idea to separate each service(NON,NDN,BDT,RouterHandle, eg.) from the stack, the stack seems too large now, it should be a shell to integrate all modules, but not include those. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
I think I have known it. The stack include 2 parts:
The 2 parts looks seem in interface, So, there a many same We can depend the By the way, the |
Beta Was this translation helpful? Give feedback.
-
I have do it, let me talk about my solution. I hope you can follow it step by step to complete your work without understood the theory, and I haven't fully understood the theory. You can study the detail from the source code.
|
Beta Was this translation helpful? Give feedback.
I have do it, let me talk about my solution. I hope you can follow it step by step to complete your work without understood the theory, and I haven't fully understood the theory. You can study the detail from the source code.
Define the interface for DecAPP developers
Module entry
Interface for service customers
Interface for service developers
Delegate handler for service developers
Create 2 modules as client/server for
Stack
and 2 submodules incyfs-stack
:Client for
Stack
that will be integrated withSharedCyfsStack
incyfs-lib
Server for
Stack
that will be integrated withCyfsStack
incyfs-stack
Submodule of traits in
cyfs-stack
that will provide the abstract interface to process …