|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectrabbit.client.CountingClientBaseStopper
public class CountingClientBaseStopper
A helper class that shuts down the clientBase when all requests have finished.
Constructor Summary | |
---|---|
CountingClientBaseStopper(ClientBase clientBase)
Create a new CountingClientBaseStopper that will shutdown the given client once all outstanding requests have been fully handled. |
Method Summary | |
---|---|
void |
requestDone()
Called when one request has finished |
void |
sendRequest(HttpHeader request,
ClientListener listener)
Send a request |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public CountingClientBaseStopper(ClientBase clientBase)
clientBase
- the actual clientMethod Detail |
---|
public void sendRequest(HttpHeader request, ClientListener listener)
request
- the http header to sendlistener
- the client handling the resourcepublic void requestDone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |