- Joined
- Jun 17, 2008
- Messages
- 92
- Reaction score
- 0
- Points
- 0
It was done this way to avoid conflicts between multiple clients trying to use the same ids, and the additional exception handling involved. What's the issue?
well the problem is that until now, my program recognises the incoming command based on the initial bit of text, eg: "ORB:SIMTIME" and my program disects the ORB and SIMTIME and then knows to update the simtime based on that.
But now with the subscription all I get is the UID number which is difficult to match up to the command because with a thousand other things incoming at the same time the program can't compare the uID as an integer as opposed to text.
Look, long story short, I think that if you want to keep things kosher, provide two commands:
the first is the one that already exists which makes the orbconnect module assign a unique ID.
the second should be one which allows the client to assign a UID.
In my program i would develop this so that its nearly impossible for another client to get the same ID.
so for example the command might be: "SUBSCRIBECLIENT:UID:25:Command"
keep the UID as an integer though
where the "subscribeclient" is the command which your orbconnect recognises to assign the command to the provided UID.
Would that make both our parties happy?
Also there are so many other API command i would love to have access to.
Right now the elements1 and elements2 seem to be transmitted a bit messed up on my end for some strange reason.
I was wandering if you could provide an Elements3 which delivers the two combined in one transmission.
When you do create this PLEASE PLEASE include what each element in the array in your documentation because otherwise im constantly having to look up the API guide and your guide.
If you could do this one thing it would greatly simplify my code because having to make two calls (even if they are subscribed) means getting the data at different times but I'm trying to render all the displays at the same time