|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectuk.ac.ic.doc.automed.p2p.QueryGetter
public class QueryGetter
| Constructor Summary | |
|---|---|
QueryGetter(AutoMedPeer peer)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getQueryResults(java.lang.String peerName,
java.lang.String address,
java.lang.String schema,
java.lang.String query)
Fetch the results of a query from a peer |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public QueryGetter(AutoMedPeer peer)
| Method Detail |
|---|
public java.lang.String getQueryResults(java.lang.String peerName,
java.lang.String address,
java.lang.String schema,
java.lang.String query)
throws UnsuccessfulReplyException,
CommunicationException,
java.io.IOException
peerName - the logical name of the peeraddress - a url that resolves to an IP addres, or an IP address,
of the host where the peer is currently located.schema - the name of the public schema on the peer to queryquery - the query to pose on that public schema
UnsuccessfulReplyException
CommunicationException
java.io.IOException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||