p2ps.pipe
Interface PipeQuery

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

public interface PipeQuery
extends Query

An interface implemented by queries interested in discovering pipes.

Version:
$Revision: 295 $
Author:
Ian Wang

Field Summary
static java.lang.String PIPE_QUERY_TYPE
           
static java.lang.String QUERY_PEER_ID_TAG
           
static java.lang.String QUERY_PIPE_ID_TAG
           
static java.lang.String QUERY_PIPE_NAME_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 getQueryPeerID()
           
 java.lang.String getQueryPipeID()
           
 java.lang.String getQueryPipeName()
           
 void setQueryPeerID(java.lang.String id)
          Sets the id of the peer this query is interested in (null if any)
 void setQueryPipeID(java.lang.String id)
          Sets the id of the pipe this query is interested in (null if any)
 void setQueryPipeName(java.lang.String name)
          Sets the name of the pipe 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

PIPE_QUERY_TYPE

public static final java.lang.String PIPE_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_PIPE_ID_TAG

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

QUERY_PIPE_NAME_TAG

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

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)

setQueryPipeID

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


getQueryPipeID

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

setQueryPipeName

public void setQueryPipeName(java.lang.String name)
Sets the name of the pipe this query is interested in (null if any)


getQueryPipeName

public java.lang.String getQueryPipeName()
Returns:
the name of the pipe this query is interested in (null if any)