public class LogResultHandler extends Object implements ResultHandler
Constructor and Description |
---|
LogResultHandler(Message msg)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
void |
done()
Called when no more
ResultHandler.result(org.astrogrid.samp.Client, org.astrogrid.samp.Response) invocations will be made,
either because all have been received or for some other reason,
such as a timeout or the hub shutting down. |
void |
result(Client client,
Response response)
Called when a response is received from a client to which the message
was sent.
|
public LogResultHandler(Message msg)
msg
- message which was sentpublic void result(Client client, Response response)
ResultHandler
result
in interface ResultHandler
client
- responder clientresponse
- content of responsepublic void done()
ResultHandler
ResultHandler.result(org.astrogrid.samp.Client, org.astrogrid.samp.Response)
invocations will be made,
either because all have been received or for some other reason,
such as a timeout or the hub shutting down.done
in interface ResultHandler
Copyright © 2008–2024. All rights reserved.