Name
QueryHandler
Synopsis
This interface is used by the resolver to process the query or response. A handler is registered with the resolver service, which forwards messages to the handler.
public interface QueryHandler { // Public Instance Methods public abstract net.jxta.protocol.ResolverResponseMsg processQuery(net.jxta.protocol.ResolverQueryMsg query) throws net.jxta.exception.NoResponseException, net.jxta.exception.ResendQueryException, net.jxta.exception.DiscardQueryExceptionIOException; public abstract void processResponse(net.jxta.protocol.ResolverResponseMsg response); }
Passed To
ResolverService.registerHandler()
Returned By
ResolverService.{registerHandler()
,
unregisterHandler()}
Get JXTA in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.