Package net.targetr.rc.client
Class ClientReceiveHandler
java.lang.Object
net.targetr.rc.client.ClientReceiveHandler
- All Implemented Interfaces:
SocketExceptionHandler
Sends JavaScript to the client. Delays response until data to send (long polling).
- Author:
- Dr Michael Gardiner
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
Adds support to a HttpResponder for capturing an exception during write.
-
Field Details
-
REQUEST_HOLD_PERIOD
public static final int REQUEST_HOLD_PERIOD- See Also:
-
clientCount
-
-
Constructor Details
-
ClientReceiveHandler
-
-
Method Details
-
generateResponse
- Throws:
IOException
-
handleException
Description copied from interface:SocketExceptionHandler
Adds support to a HttpResponder for capturing an exception during write.- Specified by:
handleException
in interfaceSocketExceptionHandler
- Parameters:
ex
- an exception occurred while sending data to client.
-