Project JXTA

net.jxta.impl.protocol
Class RouteQuery

java.lang.Object
  extended bynet.jxta.protocol.RouteQueryMsg
      extended bynet.jxta.impl.protocol.RouteQuery

public class RouteQuery
extends RouteQueryMsg

RouteQuery message used by the Endpoint Routing protocol to query for route


Constructor Summary
RouteQuery(Element root)
          Construct from a StructuredDocument
RouteQuery(PeerID dest, RouteAdvertisement srcRoute, Vector badHops)
          Construct a doc from strings
 
Method Summary
 Document getDocument(MimeMediaType asMimeType)
          return a Document represetation of this object
 String toString()
          return a string representaion of this RouteQuery doc
 
Methods inherited from class net.jxta.protocol.RouteQueryMsg
getAdvertisementType, getBadHops, getDestPeerID, getSrcRoute, setBadHops, setDestPeerID, setSrcRoute
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

RouteQuery

public RouteQuery(PeerID dest,
                  RouteAdvertisement srcRoute,
                  Vector badHops)
Construct a doc from strings


RouteQuery

public RouteQuery(Element root)
Construct from a StructuredDocument

Method Detail

getDocument

public Document getDocument(MimeMediaType asMimeType)
return a Document represetation of this object


toString

public String toString()
return a string representaion of this RouteQuery doc


JXTA J2SE