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
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
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)