Package org.apache.tomcat.util.net
Class SocketProcessorBase<S>
- java.lang.Object
-
- org.apache.tomcat.util.net.SocketProcessorBase<S>
-
- All Implemented Interfaces:
java.lang.Runnable
- Direct Known Subclasses:
AprEndpoint.SocketProcessor
,Nio2Endpoint.SocketProcessor
,NioEndpoint.SocketProcessor
public abstract class SocketProcessorBase<S> extends java.lang.Object implements java.lang.Runnable
-
-
Field Summary
Fields Modifier and Type Field Description protected SocketEvent
event
protected SocketWrapperBase<S>
socketWrapper
-
Constructor Summary
Constructors Constructor Description SocketProcessorBase(SocketWrapperBase<S> socketWrapper, SocketEvent event)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract void
doRun()
void
reset(SocketWrapperBase<S> socketWrapper, SocketEvent event)
void
run()
-
-
-
Field Detail
-
socketWrapper
protected SocketWrapperBase<S> socketWrapper
-
event
protected SocketEvent event
-
-
Constructor Detail
-
SocketProcessorBase
public SocketProcessorBase(SocketWrapperBase<S> socketWrapper, SocketEvent event)
-
-
Method Detail
-
reset
public void reset(SocketWrapperBase<S> socketWrapper, SocketEvent event)
-
run
public final void run()
- Specified by:
run
in interfacejava.lang.Runnable
-
doRun
protected abstract void doRun()
-
-