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.OperationState<A>>
- Enclosing class:
- SocketWrapperBase<E>
protected class SocketWrapperBase.VectoredIOCompletionHandler<A> extends Object implements CompletionHandler<Long,SocketWrapperBase.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
Constructors Modifier Constructor Description protected
VectoredIOCompletionHandler()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
completed(Long nBytes, SocketWrapperBase.OperationState<A> state)
void
failed(Throwable exc, SocketWrapperBase.OperationState<A> state)
-
-
-
Method Detail
-
completed
public void completed(Long nBytes, SocketWrapperBase.OperationState<A> state)
- Specified by:
completed
in interfaceCompletionHandler<Long,SocketWrapperBase.OperationState<A>>
-
failed
public void failed(Throwable exc, SocketWrapperBase.OperationState<A> state)
- Specified by:
failed
in interfaceCompletionHandler<Long,SocketWrapperBase.OperationState<A>>
-
-