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

🛰 Network event callers & listeners #9

Open
nuriofernandez opened this issue Aug 17, 2020 · 4 comments
Open

🛰 Network event callers & listeners #9

nuriofernandez opened this issue Aug 17, 2020 · 4 comments
Labels
enhancement New feature or request idea

Comments

@nuriofernandez
Copy link
Owner

Possibility of calling events through the network layer to allow a multi-machine event system.

// Create a server
NetworkEventManager eventManager = NetworkEventManager.setupServer("localhost", 9991);

// Link to another server
NetworkEventManager.linkToServer("localhost", 9992);
NetworkEventManager.linkToServer("8.8.8.8", 9991);

// Call an event
eventManager.callEvent(new TestEvent());

// Event calling alternatives
eventManager.callLocalEvent(new TestEvent());
eventManager.callNetworkEvent(new TestEvent());
@nuriofernandez nuriofernandez added the enhancement New feature or request label Aug 17, 2020
@nuriofernandez
Copy link
Owner Author

Also, it's a good idea to create some RSA authentication system to secure transmitted data and who can connect permissions.

@nuriofernandez
Copy link
Owner Author

The network event manager can have the ability to send raw event classes to other instances that don't have the required event class.

@nuriofernandez
Copy link
Owner Author

This should be a different project, using this one as a dependency in order to keep this light and small. 🤏

@nuriofernandez nuriofernandez changed the title Network event callers & listeners 🛰 Network event callers & listeners Jun 21, 2021
@nuriofernandez
Copy link
Owner Author

nuriofernandez commented Jan 30, 2022

I'm working on a new project that can make this possible in a beautiful way.
https://github.com/xXNurioXx/event-superintendent

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request idea
Projects
None yet
Development

No branches or pull requests

1 participant