com.sun.grizzly.nio.transport
Class TCPNIOConnectorHandler.ConnectorEventProcessor
java.lang.Object
com.sun.grizzly.AbstractProcessor
com.sun.grizzly.nio.transport.TCPNIOConnectorHandler.ConnectorEventProcessor
- All Implemented Interfaces:
- Processor
- Enclosing class:
- TCPNIOConnectorHandler
protected class TCPNIOConnectorHandler.ConnectorEventProcessor
- extends AbstractProcessor
Processor, which will be notified, once OP_CONNECT will be ready
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TCPNIOConnectorHandler.ConnectorEventProcessor
public TCPNIOConnectorHandler.ConnectorEventProcessor(FutureImpl<Connection> future)
process
public ProcessorResult process(Context context)
throws IOException
- Method will be called by framework, when async connect will be completed
- 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.