JXTA

net.jxta.impl.endpoint
Class EndpointUtils

java.lang.Object
  extended by net.jxta.impl.endpoint.EndpointUtils

public final class EndpointUtils
extends Object

Utility functions related to the Endpoint Service.


Constructor Summary
EndpointUtils()
           
 
Method Summary
static RouteAdvertisement extractRouteAdv(PeerAdvertisement adv)
          Extracts a route advertisement from a peer advertisement.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EndpointUtils

public EndpointUtils()
Method Detail

extractRouteAdv

public static RouteAdvertisement extractRouteAdv(PeerAdvertisement adv)
Extracts a route advertisement from a peer advertisement.

Parameters:
adv - The peer advertisement believed to contain a route advertisement.
Returns:
The extracted route advertisement or null if a route advertisement could not be extracted.

JXSE