|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.protocol.RouteQueryMsg
@Deprecated public abstract class RouteQueryMsg
This class defines the EndpointRouter RouteQuery message "Query"
This message is part of the Endpoint Routing Protocol.
RouteResponseMsg
Constructor Summary | |
---|---|
RouteQueryMsg()
Deprecated. |
Method Summary | |
---|---|
void |
addBadHop(PeerID badHop)
Deprecated. Adds a bad hop to the list of those known to be bad for this route. |
static String |
getAdvertisementType()
Deprecated. All messages have a type (in xml this is ! |
Set<PeerID> |
getBadHops()
Deprecated. returns the bad hops know to the route |
PeerID |
getDestPeerID()
Deprecated. returns the destination peer ID we are looking for |
abstract Document |
getDocument(MimeMediaType asMimeType)
Deprecated. Write message into a document. asMimeType is a mime media-type specification and provides the form of the document which is being requested. |
RouteAdvertisement |
getSrcRoute()
Deprecated. returns the route of the src peer that issued the routequery |
void |
setBadHops(Collection<PeerID> hops)
Deprecated. Set the bad hops known into that route |
void |
setDestPeerID(PeerID pid)
Deprecated. set the destination PeerID we are searching a route for |
void |
setSrcRoute(RouteAdvertisement route)
Deprecated. 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 addBadHop(PeerID badHop)
badHop
- The known bad hop for the route.public void setBadHops(Collection<PeerID> hops)
hops
- RouteAdvertisement of the sourcepublic Set<PeerID> getBadHops()
public abstract Document getDocument(MimeMediaType asMimeType)
asMimeType
- mime-type format requested
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |