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