Re: LookupCache, ServiceDiscoveryListener and discard guarantees
Gregg Wonderly <[email protected]>
| Newsgroups | gmane.comp.java.sun.jini |
|---|---|
| Message-ID | <[email protected]> |
Mark Brouwer wrote: > I think I don't understand you. Creating a lookup cache takes a > ServiceTemplate and ServiceItemFilter so I don't see how it can't find > all services matching certain criteria, it also guarantees it will > return only one service no matter with how many lookup services it is > registered with. Okay, so you made me actually remind myself of the SDM API and the LookupCache. So the version of "lookup" that returns an array of "ServiceItem" actually does provide the type of functionality I described. I had forgotten about this API being available. I had not used SDM, early on, because of the fact that it would not populate if callbacks were not available. So, that's really the only valid reason why I'm doing what I'm doing. Gregg Wonderly -------------------------------------------------------------------------- Getting Started: http://www.jini.org/wiki/Category:Getting_Started Community Web Site: http://jini.org jini-users Archive: http://archives.java.sun.com/archives/jini-users.html Unsubscribing: email "signoff JINI-USERS" to [email protected]