|
Project JXTA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--net.jxta.protocol.PeerInfoQueryMessage
This abstract class define the PeerInfoService Query message
This message is part of the Peer PeerInfoService protocol
<xs:element name="PeerInfoQueryMessage " type="jxta:PeerInfoQueryMessage"/> <xs:complexType name="PeerInfoQueryMessage"> <xs:element name="sourcePid" type="xs:anyURI"/> <xs:element name="targetPid" type="xs:anyURI"/> <!-- if no present then the response is the general peerinfo --> <xs:element name="request" type="xs:anyType" minOccurs="0"/> </xs:complexType>
| Constructor Summary | |
PeerInfoQueryMessage()
|
|
| Method Summary | |
abstract Document |
getDocument(MimeMediaType encodeAs)
|
static java.lang.String |
getMessageType()
returns the Message type |
Element |
getRequest()
returns the request |
ID |
getSourcePid()
returns the sender's pid |
ID |
getTargetPid()
returns the target pid |
void |
setRequest(Element request)
sets the request |
void |
setSourcePid(ID pid)
sets the sender's pid |
void |
setTargetPid(ID pid)
sets the target's pid |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public PeerInfoQueryMessage()
| Method Detail |
public static java.lang.String getMessageType()
public ID getSourcePid()
public void setSourcePid(ID pid)
pid - a string representing a peer's idpublic ID getTargetPid()
public void setTargetPid(ID pid)
pid - a string representing a peer's idpublic Element getRequest()
public void setRequest(Element request)
request - a structured document representing a peerinfo requestpublic abstract Document getDocument(MimeMediaType encodeAs)
|
Project JXTA | ||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||