|
Project JXTA | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectnet.jxta.protocol.LimitedRangeRdvMessage
This class defines the Limited Range Rendezvous message.
net.jxta.impl.protocol.LimitedRangeRdvMsg
Field Summary | |
static int |
BOTH
|
static String |
DirTag
|
static int |
DOWN
|
static String |
Name
|
static String |
SrcPeerIDTag
|
static String |
SrcRouteAdvTag
|
static String |
SrcSvcNameTag
|
static String |
SrcSvcParamsTag
|
static String |
TTLTag
|
static int |
UP
|
Constructor Summary | |
LimitedRangeRdvMessage()
|
Method Summary | |
static String |
getAdvertisementType()
All messages have a type (in xml this is ! |
int |
getDirection()
Get the direction the message must take |
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. |
String |
getSrcPeerID()
Get the Source PeerID |
String |
getSrcRouteAdv()
Get the Source RouteAdvertisement (listening for the response) |
String |
getSrcSvcName()
Get the Source Service Name (listening for the response) |
String |
getSrcSvcParams()
Get the Source Service Param (listening for the response) |
int |
getTTL()
Get the TTL |
void |
setDirection(int dir)
set the Direction of the message |
void |
setSrcPeerID(String srcPeerID)
set the Source PeerID |
void |
setSrcRouteAdv(String srcRouteAdv)
set the Source Route Advertisement (listening for the response) |
void |
setSrcSvcName(String srcSvcName)
set the Source Service Name (listening for the response) |
void |
setSrcSvcParams(String srcSvcParams)
set the Source Service Params (listening for the response) |
void |
setTTL(int ttl)
set the TTL |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final String Name
public static final String TTLTag
public static final String DirTag
public static final String SrcSvcNameTag
public static final String SrcSvcParamsTag
public static final String SrcPeerIDTag
public static final String SrcRouteAdvTag
public static final int UP
public static final int DOWN
public static final int BOTH
Constructor Detail |
public LimitedRangeRdvMessage()
Method Detail |
public static String getAdvertisementType()
public int getTTL()
public void setTTL(int ttl)
ttl
- TTLpublic int getDirection()
public void setDirection(int dir)
dir
- directionpublic String getSrcSvcName()
public void setSrcSvcName(String srcSvcName)
srcSvcName
- Source Service Namepublic String getSrcSvcParams()
public void setSrcSvcParams(String srcSvcParams)
srcSvcParams
- Source Service Paramspublic String getSrcPeerID()
public void setSrcPeerID(String srcPeerID)
srcPeerID
- Source PeerIDpublic String getSrcRouteAdv()
public void setSrcRouteAdv(String srcRouteAdv)
srcRouteAdv
- Source Route Advertisementpublic 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 |