Chapter 6: In Depth Discovery. - PowerPoint PPT Presentation

About This Presentation
Title:

Chapter 6: In Depth Discovery.

Description:

throws IOException; public void addDiscoveryListener(DiscoveryListener l) ... throws IOException, ClassNotFoundException; public ServiceRegistrar getRegistrar ... – PowerPoint PPT presentation

Number of Views:12
Avg rating:3.0/5.0
Slides: 14
Provided by: gila5
Category:

less

Transcript and Presenter's Notes

Title: Chapter 6: In Depth Discovery.


1
Chapter 6 In Depth Discovery. Chapter 7
??? ???? ??? ?????
2
(No Transcript)
3
Multicast request Communication flow
4
(No Transcript)
5
Multicast announcement Communication flow
6
(No Transcript)
7
Unicast discovery Communication flow
8
package net.jini.discovery import
java.util.EventListener public interface
DiscoveryListener extends EventListener
public void discovered(DiscoveryEvent ev)
public void discarded(DiscoveryEvent ev)
9
package net.jini.discovery import
java.util.EventObject public class
DiscoveryEvent extends EventObject // some
methods elided public ServiceRegistrar
getRegistrars()
10
package net.jini.discovery public class
LookupDiscovery public static final String
ALL_GROUPS null public static final String
NO_GROUPS new
String0 public LookupDiscovery(String
grps) throws
IOException public void addDiscoveryListener(Di
scoveryListener l) public void
removeDiscoveryListener(DiscoveryListener l)
11
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()
12
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, ClassNotFoundExcept
ion
13
security
permission net.jini.discovery.DiscoveryPermission
permission net.jini.discovery.DiscoveryPermis
sion unsafe permission
net.jini.discovery.DiscoveryPermission
Write a Comment
User Comments (0)
About PowerShow.com