public class JoinMessage extends Message
<?xml version='1.0' encoding='UTF-8'?>
<jsync version='1.0'>
<join urid='r1' url='http://host/r1'>
<stamp urid='r1' time='1234' />
<stamp urid='r2' time='2345' />
<stamp urid='r3' time='3456' />
</join>
</jsync>
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
REVISION |
| Constructor and Description |
|---|
JoinMessage(org.jdom.Element root)
Constructs a new JoinMessage from an XML element
|
JoinMessage(java.lang.String urid,
java.lang.String url,
StampTable progressTable)
Constructs a new JoinMessage
|
| Modifier and Type | Method and Description |
|---|---|
StampTable |
getProgressTable() |
java.lang.String |
getUrl() |
java.lang.String |
toXml() |
getTime, getUrid, getXmlFooter, getXmlHeader, parse, stampToXml, toStringpublic static final java.lang.String REVISION
public JoinMessage(java.lang.String urid,
java.lang.String url,
StampTable progressTable)
urid - the urid of the senderurl - the url of the senderprogressTable - the progressTable of the senderpublic JoinMessage(org.jdom.Element root)
root - the root element (i.e. the <join> tag)public java.lang.String getUrl()
public StampTable getProgressTable()
Copyright © 2001-2017 Jalios SA. All Rights Reserved.