|
JXTA | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.protocol.RouteResponseMsg
@Deprecated public abstract class RouteResponseMsg
Sent by peers in response to Route Query Messages as part of the Endpoint Router Protocol (ERp). Contains a route advertisement for the destination peer. Route Response Messages are transmitted as responses within Resolver Response Message.
RouteQueryMsg
,
JXTA Protocols Specification : Endpoint Routing ProtocolConstructor Summary | |
---|---|
RouteResponseMsg()
Deprecated. |
Method Summary | |
---|---|
static String |
getAdvertisementType()
Deprecated. All messages have a type (in xml this is ! |
RouteAdvertisement |
getDestRoute()
Deprecated. returns the destination route we were looking for |
abstract Document |
getDocument(MimeMediaType asMimeType)
Deprecated. 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()
Deprecated. Returns the route of the src peer that responded |
void |
setDestRoute(RouteAdvertisement dst)
Deprecated. set the destination route we were looking 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 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
|
JXSE | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |