|
Project JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.protocol.RouteResponseMsg
public abstract class RouteResponseMsg
This class defines the EndpointRouter RouteResponse message The default behavior of this abstract class is simply a This message is part of the Endpoint Routing Protocol.
<?xml version="1.0" standalone='yes'?> <jxta:ERR> <Dst>Route adv response</Dst> <Src>Route adv of the responder's src</Src> </jxta:ERR>
RouteQueryMsg
Constructor Summary | |
---|---|
RouteResponseMsg()
|
Method Summary | |
---|---|
static String |
getAdvertisementType()
All messages have a type (in xml this is ! |
RouteAdvertisement |
getDestRoute()
returns the destination route we were 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 responded |
void |
setDestRoute(RouteAdvertisement dst)
set the destination route we were looking 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 RouteResponseMsg()
Method Detail |
---|
public static String getAdvertisementType()
public void setDestRoute(RouteAdvertisement dst)
dst
- destination routepublic RouteAdvertisement getDestRoute()
public void setSrcRoute(RouteAdvertisement route)
route
- RouteAdvertisement of the sourcepublic RouteAdvertisement getSrcRoute()
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 |