net.jxta.impl.protocol
Class PeerInfoResponseMsg
java.lang.Object
net.jxta.protocol.PeerInfoResponseMessage
net.jxta.impl.protocol.PeerInfoResponseMsg
public class PeerInfoResponseMsg
- extends PeerInfoResponseMessage
This class implements PeerInfoResponseMessage
.
This message is part of the Peer PeerInfoService protocol
<xs:element name="PeerInfoResponse" type="jxta:PeerInfoResponse"/>
<xs:complexType name="PeerInfoResponse">
<xs:element name="sourcePid" type="xs:anyURI"/>
<xs:element name="targetPid" type="xs:anyURI"/>
<xs:element name="uptime" type="xs:unsignedLong" minOccurs="0"/>
<xs:element name="timestamp" type="xs:unsignedLong" minOccurs="0"/>
<xs:element name="response" type="xs:anyType" minOccurs="0"/>
</xs:complexType>
- Since:
- JXTA 1.0
Methods inherited from class net.jxta.protocol.PeerInfoResponseMessage |
getMessageType, getResponse, getSourcePid, getTargetPid, getTimestamp, getUptime, setResponse, setSourcePid, setTargetPid, setTimestamp, setUptime |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PeerInfoResponseMsg
public PeerInfoResponseMsg()
PeerInfoResponseMsg
@Deprecated
public PeerInfoResponseMsg(PeerID spid,
PeerID tpid,
long uptime,
long timestamp)
- Deprecated. Please use the individual setters
- Parameters:
spid
- source PeerIDtpid
- target PeerIDuptime
- uotime in millistimestamp
- TimeStamp
PeerInfoResponseMsg
public PeerInfoResponseMsg(Element root)
getDocument
public Document getDocument(MimeMediaType encodeAs)
- Specified by:
getDocument
in class PeerInfoResponseMessage