Package org.astrogrid.samp.client
Class LogResultHandler
java.lang.Object
org.astrogrid.samp.client.LogResultHandler
- All Implemented Interfaces:
ResultHandler
ResultHandler implementation which outputs some information about
responses received through the logging system.
- Since:
- 12 Nov 2008
- Author:
- Mark Taylor
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
done()
Called when no moreResultHandler.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
Called when a response is received from a client to which the message was sent.
-
Constructor Details
-
LogResultHandler
Constructor.- Parameters:
msg
- message which was sent
-
-
Method Details
-
result
Description copied from interface:ResultHandler
Called when a response is received from a client to which the message was sent.- Specified by:
result
in interfaceResultHandler
- Parameters:
client
- responder clientresponse
- content of response
-
done
public void done()Description copied from interface:ResultHandler
Called when no moreResultHandler.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.- Specified by:
done
in interfaceResultHandler
-