Package response.logic
Class IntermediateResponseHandler
java.lang.Object
response.logic.IntermediateResponseHandler
- All Implemented Interfaces:
ExceptionProvider
,LargePacketProvider
,ListenLoopListener
,ServerResponseProvider
public class IntermediateResponseHandler
extends Object
implements ListenLoopListener, LargePacketProvider
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
void
void
acceptResponse
(byte[] responseArray) void
final BaseResponse
proceedIntermediateResponse
(ExceptionProvider... providers)
-
Constructor Details
-
IntermediateResponseHandler
-
-
Method Details
-
proceedIntermediateResponse
public final BaseResponse proceedIntermediateResponse(ExceptionProvider... providers) throws ProceedException, GotAnErrorResponseException, IOException, ClassNotFoundException -
acceptException
- Specified by:
acceptException
in interfaceExceptionProvider
-
acceptResponse
public void acceptResponse(byte[] responseArray) - Specified by:
acceptResponse
in interfaceServerResponseProvider
-
acceptReadingOver
public void acceptReadingOver()- Specified by:
acceptReadingOver
in interfaceLargePacketProvider
-
loopEndAction
public void loopEndAction()- Specified by:
loopEndAction
in interfaceListenLoopListener
-