Name

ResolverResponseMsg

Synopsis

Messages of this class are sent as part of the 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 ResolverResponseMsg {
// Public Constructors
   public ResolverResponseMsg();  
// 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 int getQueryId();  
   public void setQueryId(int id);  
   public String getResponse();  
   public void setResponse(String response);  
// Public Instance Methods
   public abstract net.jxta.document.Document getDocument(net.jxta.document.MimeMediaType asMimeType) 
       throws Exception;
// Public Class Fields
   public static int queryid;  
}

Passed To

net.jxta.resolver.GenericResolver.sendResponse(), net.jxta.resolver.QueryHandler.processResponse()

Returned By

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.