public class SuggestJoinMessage extends Message
<?xml version='1.0' encoding='UTF-8'?> <jsync version='1.0'> <suggestjoin urid='rleader' url='http://host/rleader' /> </jsync>
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
REVISION |
Constructor and Description |
---|
SuggestJoinMessage(org.jdom.Element root)
Constructs a new JoinMessage from an XML element
|
SuggestJoinMessage(java.lang.String urid,
java.lang.String url)
Constructs a new JoinMessage
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getUrl() |
java.lang.String |
toXml() |
getUrid, getXmlFooter, getXmlHeader, parse, stampToXml, toString
public static final java.lang.String REVISION
public SuggestJoinMessage(java.lang.String urid, java.lang.String url)
urid
- the urid of the senderurl
- the url of the senderpublic SuggestJoinMessage(org.jdom.Element root)
root
- the root element (i.e. the <join>
tag)Copyright © 2001-2010 Jalios SA. All Rights Reserved.