public class LogResultHandler extends java.lang.Object implements ResultHandler
| Modifier and Type | Field and Description |
|---|---|
private static java.util.logging.Logger |
logger_ |
private java.lang.String |
mtype_ |
| 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.
|
private final java.lang.String mtype_
private static final java.util.logging.Logger logger_
public LogResultHandler(Message msg)
msg - message which was sentpublic void result(Client client, Response response)
ResultHandlerresult in interface ResultHandlerclient - responder clientresponse - content of responsepublic void done()
ResultHandlerResultHandler.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