Project JXTA

net.jxta.impl.protocol
Class PeerInfoResponseMsg

java.lang.Object
  extended by net.jxta.protocol.PeerInfoResponseMessage
      extended by 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

Constructor Summary
PeerInfoResponseMsg()
           
PeerInfoResponseMsg(Element root)
           
PeerInfoResponseMsg(PeerID spid, PeerID tpid, long uptime, long timestamp)
          Deprecated. Please use the Advertisement factory and accessors
 
Method Summary
 Document getDocument(MimeMediaType encodeAs)
           
 void initialize(Element root)
           
 
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
 

Constructor Detail

PeerInfoResponseMsg

public PeerInfoResponseMsg()

PeerInfoResponseMsg

public PeerInfoResponseMsg(PeerID spid,
                           PeerID tpid,
                           long uptime,
                           long timestamp)
Deprecated. Please use the Advertisement factory and accessors


PeerInfoResponseMsg

public PeerInfoResponseMsg(Element root)
Method Detail

initialize

public void initialize(Element root)

getDocument

public Document getDocument(MimeMediaType encodeAs)
Specified by:
getDocument in class PeerInfoResponseMessage

JXTA J2SE