Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Node definition helper class #173

Open
YarochkinMichael opened this issue Oct 8, 2018 · 0 comments
Open

Node definition helper class #173

YarochkinMichael opened this issue Oct 8, 2018 · 0 comments

Comments

@YarochkinMichael
Copy link

YarochkinMichael commented Oct 8, 2018

I made helper class for defining address space.

For example, NanoServer from lines 112-1130 will looks like

 onBrowseActions.put(Identifiers.RootFolder,
            new BrowseResult(StatusCode.GOOD,
                    null,
                    new ReferenceDescription[]{
                            Node.HasTypeDefinition.FolderType(),

                            Node.Organizes.Folder(Identifiers.ObjectsFolder,"Objects"),
                            Node.Organizes.Folder(Identifiers.TypesFolder,"Types"),
                            Node.Organizes.Folder(Identifiers.ViewsFolder,"Views")
                    }
                    )
    );

Can it be useful also for community?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant