p2ps.discovery
Interface Query
- All Superinterfaces:
- Advertisement, java.io.Serializable
- All Known Subinterfaces:
- DefaultQuery, EndpointQuery, EndpointResolverQuery, GroupQuery, PipeQuery, RendezvousQuery, ServiceQuery
- All Known Implementing Classes:
- DefaultQueryImp, EndpointQueryImp, EndpointResolverQueryImp, GroupQueryImp, PipeQueryImp, RendezvousQueryImp, ServiceQueryImp
- public interface Query
- extends Advertisement
The base class for all queries
- Version:
- $Revision: 295 $
- Author:
- Ian Wang
QUERY_TAG
public static final java.lang.String QUERY_TAG
- See Also:
- Constant Field Values
REPLY_URI_TAG
public static final java.lang.String REPLY_URI_TAG
- See Also:
- Constant Field Values
getQueryType
public java.lang.String getQueryType()
- Returns:
- the type of advertisement this query is interested in (e.g.
PipeAdvertisement)
getReplyURIs
public java.net.URI[] getReplyURIs()
- Returns:
- optional endpoint uri for the query reply.
setReplyURIs
public void setReplyURIs(java.net.URI[] replyuri)
- Ssets the optional endpoint uri for the query reply.