Comments (5)
I'm not sure if this helps, but we were able to browse the tree of a compact engine when using ChildrenRetrievalPolicy.DirectOnly
. This workaround is explained here: #39
from ember-plus-sharp.
@michaelhofer-slg: do you have a code sample for the workaround you explained?
I tried with this code, but can only get the root of the tree (SapphireCompact):
using (var consumer = await Consumer<SapphireRoot>.CreateAsync(client, 10000, ChildrenRetrievalPolicy.DirectOnly))
{
INode root = consumer.Root;
foreach (var child in root.Children)
{
if (child is INode)
{
((INode)child).ChildrenRetrievalPolicy = ChildrenRetrievalPolicy.DirectOnly;
log("Child " + child.Identifier);
await consumer.SendAsync();
}
}
}
output is: Child SapphireCompact
from ember-plus-sharp.
Could it be that the Saphire Compact uses one more level of indirection and the SaphireCompact
node really is the only child at this level?
Have you tried traversing the children of the child
node after the SendAsync() call returns?
from ember-plus-sharp.
I'm now able to get the ember tree of the SapphireCompact with the workaround posted in #39 (comment)
from ember-plus-sharp.
@sronline I'm sorry about the delayed reply. The mentioned comment is correct, you need to traverse the children of the child
node again after the call returns. We do that with a recursive method and traverse the children of a given element as soon as we have received the reply to the first GetDirectory
request.
from ember-plus-sharp.
Related Issues (20)
- High CPU usage HOT 3
- Wrong exception message is sometimes set for incorrect Ember+ lengths
- Extend Convert Glow Log to include matrix changes
- Connections are reset when the provider repeats matrix contents
- Converting IsOnlineLog.xml misses entry for node 1.1.2 HOT 2
- Lawo.EmberPlusSharp.Model.EmberOption is gone HOT 3
- Elements without identifiers are ignored
- How do I close the S101Logger on client ConnectionLost event
- Connecting to Mediornet - inconsistent source or target counts in matrix HOT 3
- Static Access to optional Parameters possible?
- Change Root Node during runtime?
- Requesting children of a node that contains a matrix freezes the application
- Consumer class creates an EmBER+ message that exceeds 1024 bytes
- Issues with mc2 mixer HOT 2
- Add support for connecting sources to targets in matrix nodes
- Lib not working with DHD devices HOT 5
- How to react multiple Changes HOT 2
- Glow Analyzer Proxy Autostart Option
- Decoding message received on s101Client.EmberDataReceived
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ember-plus-sharp.