Comments (3)
It would be nice if you could test, if the stop
method now works as expected.
Here is the new compiled binary if you need it:
artnet4j.zip
from artnet4j.
That did the trick.
Regarding the refactor: I might do this (at least for the sender part) because the current API unnecessarily bloats my project with a new thread. If I do it in the near future, I'd fork and create a pull request.
from artnet4j.
To the first question about the start and stopping, that is totally true. The problem is that the underlaying framework is still the "old" artnet4j code and needs a lot of refactoring. Yes the approach with closing the socket is a good idea and I will implement it in the next version (already fixed it now).
The second question is something that bothers me too. But for this I think I have to fully refactor the underlaying ArtNetServer
class which is handling the networking. It is currently server and client which is not really useful. It would be better to create an ArtNetServer
for receiving data and an ArtNetClient
for sending data.
Currently the ArtNetClient
is more a decorator / wrapper for the ArtNetServer
which makes the API simpler. This would then be useful for both, the new ArtNetServer
and ArtNetClient
.
Because a lot of people are used to the old artnet4j API, I just added some fixes, but did not a complete refactoring of the framework. Maybe it would make sense to do so.
from artnet4j.
Related Issues (20)
- Return ArtPollReply package
- Exceptions usually are swallowed HOT 7
- DmxData is not able to go to 255 because it is a byte. HOT 1
- Please release artnet4j into maven central HOT 2
- Add port selection HOT 1
- receive event HOT 6
- Broadcast is not enabled by default on socket
- DmxData Buffer doesn't go beyond 15 universes HOT 3
- Short and Long node names are created incorrectly
- discoverNode() should inform listeners if new node is not exactly the same as previously discovered node with same IP HOT 2
- Art-Net 4 node discovery is not fully supported
- Add module-info for java 9 modules HOT 1
- Artnet Packets not picked up by Madrix HOT 2
- Artnet Node disconnected automatically
- Issues with ArtNetClient Sequence IDs HOT 1
- Reading freeze after 1sec of artnet inactivity HOT 6
- Misundertandings Using the library HOT 1
- Lacking of Documentation
- Unnecessary Port Binding for ArtNet Sender HOT 1
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 artnet4j.