org.glassfish.grizzly.nio.transport
Class TCPNIOServerConnection.AcceptorEventProcessor
java.lang.Object
org.glassfish.grizzly.AbstractProcessor
org.glassfish.grizzly.nio.transport.TCPNIOServerConnection.AcceptorEventProcessor
- All Implemented Interfaces:
- Processor
- Enclosing class:
- TCPNIOServerConnection
protected class TCPNIOServerConnection.AcceptorEventProcessor
- extends AbstractProcessor
EventProcessor, which will be notified, once OP_ACCEPT will
be ready on ServerSockerChannel
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TCPNIOServerConnection.AcceptorEventProcessor
protected TCPNIOServerConnection.AcceptorEventProcessor()
process
public ProcessorResult process(Context context)
throws IOException
- Method will be called by framework, when async accept will be ready
- Parameters:
context - processing context
- Returns:
- the result of I/O event processing
- Throws:
IOException
isInterested
public boolean isInterested(IOEvent ioEvent)
- Description copied from interface:
Processor
- Is this
Processor interested in processing the i/o event
- Returns:
- true, if this
Processor is interested and execution
process will start, false otherwise.
setInterested
public void setInterested(IOEvent ioEvent,
boolean isInterested)
- Description copied from interface:
Processor
- Set the the i/o event, this
Processor is interested in
- Parameters:
ioEvent - IOEventisInterested - true, if Processor is interested in
processing of the I/O event, or false otherwise.
Copyright © 2009 SUN Microsystems. All Rights Reserved.