-
Notifications
You must be signed in to change notification settings - Fork 2
Open
Labels
Description
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());Reactions are currently unavailable