Package org.apache.tomcat.util.net
Class SocketWrapperBase.VectoredIOCompletionHandler<A>
java.lang.Object
org.apache.tomcat.util.net.SocketWrapperBase.VectoredIOCompletionHandler<A>
- All Implemented Interfaces:
CompletionHandler<Long,
SocketWrapperBase<E>.OperationState<A>>
- Enclosing class:
- SocketWrapperBase<E>
protected class SocketWrapperBase.VectoredIOCompletionHandler<A>
extends Object
implements CompletionHandler<Long,SocketWrapperBase<E>.OperationState<A>>
Completion handler for vectored operations. This will check the completion of the operation,
then either continue or call the user provided completion handler.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionvoid
completed
(Long nBytes, SocketWrapperBase<E>.OperationState<A> state) void
failed
(Throwable exc, SocketWrapperBase<E>.OperationState<A> state)
-
Constructor Details
-
VectoredIOCompletionHandler
protected VectoredIOCompletionHandler()
-
-
Method Details
-
completed
- Specified by:
completed
in interfaceCompletionHandler<Long,
SocketWrapperBase<E>.OperationState<A>>
-
failed
- Specified by:
failed
in interfaceCompletionHandler<Long,
SocketWrapperBase<E>.OperationState<A>>
-