![CC: Tweaked](https://media.forgecdn.net/avatars/thumbnails/130/871/256/256/636463439690354770.png)
API for `peripheral_hub` chaining
SirEdvin opened this issue · 5 comments
So, I am trying to make this work.
I can create chaning from one peripheral proxy to another, but it is complicated things to do with wired modems. I don't want to artificially reuse wired networks here, because it probably would create some (a lot, actually) confusion.
Can I suggest to have some interface that peripheral_hub
Peripherals should implement to became chain-able into another peripheral_hub
's?
While I think the concept is fine, I think the implementation of this is going to be incredibly nasty and/or error-prone, which ever way you slice it. I can elucidate, but it will require an essay, so hoping you can trust me on this and spare me from that :D.
I've made a change in b1248e4 which allows you to prevent the peripheral proxy being wrappable by a modem (if you so wish), similar to your current peripheral_proxy_forbidden
tag.
This is exactly what the wired network API is here for. Use it!
I've made a change in b1248e4 which allows you to prevent the peripheral proxy being wrappable by a modem (if you so wish), similar to your current
peripheral_proxy_forbidden
tag.
There's an argument that peripheral hubs should ignore any other peripheral tagged as peripheral_hub
. I think making that change now is unhelpful, but is tempting in the future.
This is exactly what the wired network API is here for. Use it!
Well, I can understand, but for this I would need to make peripheral proxy part of wired network and (!) part of my own wireless network to make it work. Which is possible, but
I think the implementation of this is going to be incredibly nasty and/or error-prone, which ever way you slice it.
However, I am pretty sure that implementing API for this would be a little hell by itself, so I am perfectly fine with tag solution! I hope, in my planned future mod related to network I will make something crazy enough to work.
Hrmr, what do you mean by "wireless network" here - that seems a little suspicious.