1 / 13

Chapter 6: In Depth Discovery. Chapter 7:

Chapter 6: In Depth Discovery. Chapter 7:. טלי ערבה גיא גילעד. Multicast request Communication flow. Multicast announcement Communication flow. Unicast discovery Communication flow. package net.jini.discovery; import java.util.EventListener; public interface DiscoveryListener

thane
Download Presentation

Chapter 6: In Depth Discovery. Chapter 7:

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. Chapter 6: In Depth Discovery. Chapter 7: טלי ערבה גיא גילעד

  2. Multicast request Communication flow

  3. Multicast announcement Communication flow

  4. Unicast discovery Communication flow

  5. package net.jini.discovery; import java.util.EventListener; public interface DiscoveryListener extends EventListener { public void discovered(DiscoveryEvent ev); public void discarded(DiscoveryEvent ev); }

  6. package net.jini.discovery; import java.util.EventObject; public class DiscoveryEvent extends EventObject { // … some methods elided … public ServiceRegistrar[] getRegistrars(); }

  7. package net.jini.discovery; public class LookupDiscovery { public static final String[] ALL_GROUPS = null; public static final String[] NO_GROUPS = new String[0]; public LookupDiscovery(String[] grps) throws IOException; public void addDiscoveryListener(DiscoveryListener l); public void removeDiscoveryListener(DiscoveryListener l);

  8. public void discard(ServiceRegistrar reg); public String[] getGroups(); public void setGroups(String[] grps) throws IOException; public void addGroups(String[] grps) throws IOException; public void removeGroups(String[] grps); public void terminate(); }

  9. package net.jini.discovery; public class LookupLocator implements Serializable { public LookupLocator(String host, int port); public LookupLocator(String url) throws MalformedURLException; public String getHost(); public int getPort(); public ServiceRegistrar getRegistrar() throws IOException, ClassNotFoundException; public ServiceRegistrar getRegistrar(int timeout) throws IOException, ClassNotFoundException; }

  10. security permission net.jini.discovery.DiscoveryPermission “*” permission net.jini.discovery.DiscoveryPermission “unsafe” permission net.jini.discovery.DiscoveryPermission “”

More Related