p2ps.endpoint
Interface EndpointResolverQuery

All Superinterfaces:
Advertisement, Query, java.io.Serializable
All Known Implementing Classes:
EndpointResolverQueryImp

public interface EndpointResolverQuery
extends Query

An interface implemented by queries interested in discovering services.

Version:
$Revision: 295 $
Author:
Ian Wang

Field Summary
static java.lang.String ENDPOINT_RESOLVER_QUERY_TYPE
           
static java.lang.String QUERY_PEER_ID_TAG
           
static java.lang.String QUERY_PROTOCOL_TAG
           
 
Fields inherited from interface p2ps.discovery.Query
QUERY_TAG, REPLY_URI_TAG
 
Fields inherited from interface p2ps.discovery.Advertisement
ADVERT_ID_TAG, EXPIRY_DATE, PEER_ID_TAG
 
Method Summary
 java.lang.String getQueryResolverForPeerID()
           
 java.lang.String getQueryScheme()
           
 void setQueryResolverForPeerID(java.lang.String id)
          Sets the id of the peer this query is interested in (null if any)
 void setQueryScheme(java.lang.String scheme)
          Sets the scheme this query is interested in (null if any)
 
Methods inherited from interface p2ps.discovery.Query
getQueryType, getReplyURIs, setReplyURIs
 
Methods inherited from interface p2ps.discovery.Advertisement
getAdvertID, getExpiryDate, getPeerID, getType, getXMLAdvert, getXMLEnvelope
 

Field Detail

ENDPOINT_RESOLVER_QUERY_TYPE

public static final java.lang.String ENDPOINT_RESOLVER_QUERY_TYPE
See Also:
Constant Field Values

QUERY_PEER_ID_TAG

public static final java.lang.String QUERY_PEER_ID_TAG
See Also:
Constant Field Values

QUERY_PROTOCOL_TAG

public static final java.lang.String QUERY_PROTOCOL_TAG
See Also:
Constant Field Values
Method Detail

getQueryResolverForPeerID

public java.lang.String getQueryResolverForPeerID()
Returns:
the id of the peer this query is interested in (null if any)

setQueryResolverForPeerID

public void setQueryResolverForPeerID(java.lang.String id)
Sets the id of the peer this query is interested in (null if any)


getQueryScheme

public java.lang.String getQueryScheme()
Returns:
the scheme this query is interested in (null if any)

setQueryScheme

public void setQueryScheme(java.lang.String scheme)
Sets the scheme this query is interested in (null if any)