public class JAResponseCounter2 extends RP
Modifier and Type | Field and Description |
---|---|
int |
sent
The number of requests sent.
|
Constructor and Description |
---|
JAResponseCounter2(RP xrp)
Create a PubSubResponseProcessor.
|
Modifier and Type | Method and Description |
---|---|
void |
finished()
Signals that all requests have been sent.
|
void |
processResponse(Object response)
Receives and processes a response.
|
public JAResponseCounter2(RP xrp)
xrp
- The external response processor.public void finished() throws Exception
Exception
- Any excpetions raised while processing the external response.public void processResponse(Object response) throws Exception
processResponse
in class RP
response
- The response.Exception
- Any uncaught exceptions raised when processing the response.Copyright © 2012. All Rights Reserved.