com.jalios.jstore.jsync
Class SuggestJoinMessage
java.lang.Object
com.jalios.jstore.jsync.Message
com.jalios.jstore.jsync.SuggestJoinMessage
public class SuggestJoinMessage
- extends Message
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
- Version:
- $Revision: 27753 $
- Author:
- BenoƮt Dissert
|
Field Summary |
static java.lang.String |
REVISION
|
|
Constructor Summary |
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 |
|
Method Summary |
java.lang.String |
getUrl()
|
java.lang.String |
toXml()
|
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
REVISION
public static final java.lang.String REVISION
- See Also:
- Constant Field Values
SuggestJoinMessage
public SuggestJoinMessage(java.lang.String urid,
java.lang.String url)
- 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
getUrl
public java.lang.String getUrl()
- Returns:
- the url of the sender
toXml
public java.lang.String toXml()
- Specified by:
toXml in class Message
- Returns:
- an XML representation of this message
Copyright © 2001-2010 Jalios SA. All Rights Reserved.