|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.protocol.RouteQueryMsg
This class defines the EndpointRouter RouteQuery message "Query" The default behavior of this abstract class is simply a This message is part of the Endpoint Routing Protocol.
RouteResponseMsg
Constructor Summary | |
RouteQueryMsg()
|
Method Summary | |
static String |
getAdvertisementType()
All messages have a type (in xml this is ! |
Vector |
getBadHops()
returns the bad hops know to that route |
PeerID |
getDestPeerID()
returns the destination peer ID we are looking for |
abstract Document |
getDocument(MimeMediaType asMimeType)
Write advertisement into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested. |
RouteAdvertisement |
getSrcRoute()
returns the route of the src peer that issued the routequery |
void |
setBadHops(Vector hops)
set the bad hops known into that route |
void |
setDestPeerID(PeerID pid)
set the destination PeerID we are searching a route for |
void |
setSrcRoute(RouteAdvertisement route)
set the Route advertisement of the source peer that is originating the query |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
public RouteQueryMsg()
Method Detail |
public static String getAdvertisementType()
public void setDestPeerID(PeerID pid)
pid
- destination peerIDpublic PeerID getDestPeerID()
public void setSrcRoute(RouteAdvertisement route)
route
- RouteAdvertisement of the sourcepublic RouteAdvertisement getSrcRoute()
public void setBadHops(Vector hops)
hops
- RouteAdvertisement of the sourcepublic Vector getBadHops()
public abstract Document getDocument(MimeMediaType asMimeType)
asMimeType
- mime-type format requested
|
JXTA J2SE | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |