org.apache.tomcat.util.net

Class NioEndpoint.SocketProcessor

protected class NioEndpoint.SocketProcessor extends Object implements Runnable

This class is the equivalent of the Worker, but will simply use in an external Executor thread pool.
Field Summary
protected NioChannelsocket
protected SocketStatusstatus
Constructor Summary
SocketProcessor(NioChannel socket, SocketStatus status)
Method Summary
voidreset(NioChannel socket, SocketStatus status)
voidrun()

Field Detail

socket

protected NioChannel socket

status

protected SocketStatus status

Constructor Detail

SocketProcessor

public SocketProcessor(NioChannel socket, SocketStatus status)

Method Detail

reset

public void reset(NioChannel socket, SocketStatus status)

run

public void run()
Copyright © 2000-2011 Apache Software Foundation. All Rights Reserved.