Name

Package net.jxta.resolver

Synopsis

This package contains classes that define and interact with the JXTA resolver service. The resolver service is used to send generic queries to peers and receive replies from peers. The resolver service is used by the peergroup for a variety of tasks: the pipe service, for example, uses the resolver service to find the correct endpoints to connect an input pipe to an output pipe. The resolver service handles authentication of the messages it receives and drops invalid messages.

Though it is an important low-level JXTA service, most applications and services do not interact directly with the resolver. You use the resolver service only if you need to change the way in which the peergroup binds particular advertisements to resources. The class hierarchy for this package is shown in Figure 9-16.

The net.jxta.resolver package

Figure 9-16. The net.jxta.resolver package

Interfaces

public interface GenericResolver;
public interface QueryHandler;
public interface ResolverService extends net.jxta.service.Service, GenericResolver;

Get JXTA in a Nutshell now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.