Name

ResolverQueryMsg

Synopsis

Messages of this class are sent as part of the Peer Resolver Protocol (PRP). This is all transparent to the developer. The pipe service, for example, uses these messages to resolve and connect pipes. Developers do not normally use this class.

public abstract class ResolverQueryMsg {
// Public Constructors
   public ResolverQueryMsg();  
// Public Class Methods
   public static String getAdvertisementType();  
// Property Accessor Methods (by property name)
   public String getCredential();  
   public void setCredential(String cred);  
   public String getHandlerName();  
   public void setHandlerName(String name);  
   public String getQuery();  
   public void setQuery(String Query);  
   public int getQueryId();  
   public void setQueryId(int id);  
   public String getSrc();  
   public void setSrc(String p);  
// Public Instance Methods
   public abstract net.jxta.document.Document getDocument(net.jxta.document.MimeMediaType asMimeType) 
       throws Exception;
// Public Instance Fields
   public int queryid;  
}

Passed To

net.jxta.resolver.GenericResolver.sendQuery(), net.jxta.resolver.QueryHandler.processQuery()

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.