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

DATA Router #14

Open
IceDragon200 opened this issue Feb 15, 2020 · 0 comments
Open

DATA Router #14

IceDragon200 opened this issue Feb 15, 2020 · 0 comments

Comments

@IceDragon200
Copy link
Owner

Similar to the Splitter in #10, this will inspect a payload and then determine where it should go

Maybe this can be made redundant with some clever use of the logic+splitter.

But for performance reasons, this may still be the better option.

To limit the complexity, it can only inspect a single byte, of the player's choosing.

And only up to 6 routing conditions can be added.

Conditions should be order dependent.

Logical operators are provided.

Use cases

-- For funsies, a pseudo ipv4 routing system
-- R is router, S is splitter 
-- The could split a single payload across 6 outputs or 6 blocks
R
|-> I -> R
|-> I -> R 
|-> I -> R 
|-> I -> R 
|-> I -> R 
|-> I -> R
-- the first splitters would be used to drop the first byte and route the rest 
-- the second set of routers would repeat what the initial did, sending to another set of splitters
-- until 4 bytes have been consumed, by then the payloads will arrive at it's destination
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