|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--edu.cmu.aura.service.rpc.GenericStub
|
+--edu.cmu.aura.service.QueryClientStub
Stub that allows primitive services to perform callbacks on clients that support callbacks.
| Constructor Summary | |
QueryClientStub(edu.cmu.aura.service.rpc.RemoteReference dest)
Create a new QueryClientStub. |
|
| Method Summary | |
edu.cmu.aura.service.rpc.RemoteReference |
getReference()
Returns a reference to the client. |
void |
queryExecuted(int queryID,
QueryResult queryResult)
Inform a client of the result of a posted query. |
void |
triggerFired(int triggerID,
QueryResult queryResult)
Inform a client of the result of a trigger execution. |
| Methods inherited from class edu.cmu.aura.service.rpc.GenericStub |
setDest |
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public QueryClientStub(edu.cmu.aura.service.rpc.RemoteReference dest)
dest - a reference to the client.| Method Detail |
public void queryExecuted(int queryID,
QueryResult queryResult)
throws java.rmi.RemoteException
queryExecuted in interface QueryClientqueryID - the ID of the posted queryqueryResult - the result of a posted query execution
java.rmi.RemoteException
public void triggerFired(int triggerID,
QueryResult queryResult)
throws java.rmi.RemoteException
triggerFired in interface QueryClienttriggerID - the ID of the triggerqueryResult - the result of trigger execution
java.rmi.RemoteExceptionpublic edu.cmu.aura.service.rpc.RemoteReference getReference()
getReference in interface QueryClient
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||