p2ps.service
Interface ServiceQuery
- All Superinterfaces:
- Advertisement, Query, java.io.Serializable
- All Known Implementing Classes:
- ServiceQueryImp
- public interface ServiceQuery
- extends Query
An interface implemented by queries interested in discovering services.
- Version:
- $Revision: 295 $
- Author:
- Ian Wang
SERVICE_QUERY_TYPE
public static final java.lang.String SERVICE_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_SERVICE_NAME_TAG
public static final java.lang.String QUERY_SERVICE_NAME_TAG
- See Also:
- Constant Field Values
setQueryPeerID
public void setQueryPeerID(java.lang.String id)
- Sets the id of the peer this query is interested in (null if any)
getQueryPeerID
public java.lang.String getQueryPeerID()
- Returns:
- the id of the peer this query is interested in (null if any)
setQueryServiceName
public void setQueryServiceName(java.lang.String name)
- Sets the name of the service this query is interested in (null if any)
getQueryServiceName
public java.lang.String getQueryServiceName()
- Returns:
- the name of the service this query is interested in (null if any)