Package com.jalios.jstore.jsync
Class SuggestJoinMessage
java.lang.Object
com.jalios.jstore.jsync.Message
com.jalios.jstore.jsync.SuggestJoinMessage
This class represents a JSync JoinMessage. Example of JoinMessage
<?xml version='1.0' encoding='UTF-8'?> <jsync version='1.0'> <suggestjoin urid='rleader' url='http://host/rleader' /> </jsync>
- Since:
- jcms-5.7.4
- Author:
- BenoƮt Dissert
-
Field Summary
-
Constructor Summary
ConstructorsConstructorDescriptionSuggestJoinMessage(String urid, String url) Constructs a new JoinMessageSuggestJoinMessage(org.jdom.Element root) Constructs a new JoinMessage from an XML element -
Method Summary
Methods inherited from class com.jalios.jstore.jsync.Message
getTime, getUrid, getXmlFooter, getXmlHeader, parse, stampToXml, toString
-
Constructor Details
-
SuggestJoinMessage
Constructs a new JoinMessage- Parameters:
urid- the urid of the senderurl- the url of the sender
-
SuggestJoinMessage
public SuggestJoinMessage(org.jdom.Element root) Constructs a new JoinMessage from an XML element- Parameters:
root- the root element (i.e. the<join>tag)- Since:
- jcms-4.1
-
-
Method Details