com.sun.grizzly
Interface PostProcessor<E extends Context>

All Known Implementing Classes:
TCPNIOTransport.EnableInterestPostProcessor, UDPNIOTransport.EnableInterestPostProcessor

public interface PostProcessor<E extends Context>

Post processor, which will be called once Processor will complete its execution. The PostProcessor will be executed in the same Thread as Processor.

Author:
Alexey Stashok

Method Summary
 void process(ProcessorResult result, E context)
          Method will be called by framework to post process the I/O event, which occured on a connection
 

Method Detail

process

void process(ProcessorResult result,
             E context)
             throws IOException
Method will be called by framework to post process the I/O event, which occured on a connection

Parameters:
context - processing context
Throws:
IOException


Copyright © 2009 SUN Microsystems. All Rights Reserved.