Skip to content

andy-trimble/discovery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

9 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

discovery

Multicast Discovery in Java.

Build Status

Basic Usage:

Discovery d = new Discovery("server");
d.addDiscoveryListener((Actor actor) -> {
    System.out.println("Discovered new actor: " + actor.toString());
});
d.start();

// Do some stuff

d.shutdown();

By default, the discovery mechanism listens on the network interface eth0. In order to change this behavior do the following:

com.sentinel.discovery.Configuration.NETWORK_INTERFACE = "wlan0"

All configuration is located in com.sentinel.discovery.Configuration. They are static variables, simply change them to the desired values statically.

About

Multicast Discovery

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages