Project JXTA

Uses of Class
net.jxta.protocol.RouteAdvertisement

Packages that use RouteAdvertisement
net.jxta.protocol Provides inteface objects for Advertisments and protocol messages for the JXTA Core and Standard Protocols. 
 

Uses of RouteAdvertisement in net.jxta.protocol
 

Methods in net.jxta.protocol that return RouteAdvertisement
 RouteAdvertisement RouteResponseMsg.getDestRoute()
          returns the destination route we were looking for
 RouteAdvertisement RdvAdvertisement.getRouteAdv()
          Get the Route Adv.
 RouteAdvertisement ResolverQueryMsg.getSrcPeerRoute()
          Returns the source route of the query
abstract  RouteAdvertisement ResolverResponseMsg.getSrcPeerRoute()
          Get optional route information that may be attached to the response.
 RouteAdvertisement RouteQueryMsg.getSrcRoute()
          returns the route of the src peer that issued the routequery
 RouteAdvertisement RouteResponseMsg.getSrcRoute()
          returns the route of the src peer that responded
static RouteAdvertisement RouteAdvertisement.newRoute(PeerID destPid, PeerID firsthop, Vector hops)
          construct a new route

WARNING hops may be MODIFIED.

static RouteAdvertisement RouteAdvertisement.newRoute(PeerID destPid, Vector hops)
          construct a new route, all hops are in the hops parameter.
 

Methods in net.jxta.protocol with parameters of type RouteAdvertisement
static void RouteAdvertisement.cleanupLoop(RouteAdvertisement route, PeerID localPeer)
          Remove loops from the route advertisement by shortcuting cycle from the route
 void RouteResponseMsg.setDestRoute(RouteAdvertisement dst)
          set the destination route we were looking for
 void RdvAdvertisement.setRouteAdv(RouteAdvertisement route)
          set the RouteAdvertisement
 void ResolverQueryMsg.setSrcPeerRoute(RouteAdvertisement route)
          set the source route of the query
abstract  void ResolverResponseMsg.setSrcPeerRoute(RouteAdvertisement route)
          Set optional route information as part of the response.
 void RouteQueryMsg.setSrcRoute(RouteAdvertisement route)
          set the Route advertisement of the source peer that is originating the query
 void RouteResponseMsg.setSrcRoute(RouteAdvertisement route)
          set the Route advertisement of the source peer that is originating the query
static boolean RouteAdvertisement.stichRoute(RouteAdvertisement newRoute, RouteAdvertisement firstLeg)
          Alter the given newRoute (which does not start from here) by using firstLeg, a known route to whence it starts from.
static boolean RouteAdvertisement.stichRoute(RouteAdvertisement newRoute, RouteAdvertisement firstLeg, PeerID localPeer)
          Alter the given newRoute (which does not start from here) by using firstLeg, a known route to whence it starts from.
 


JXTA J2SE