XNIO version 1.1.0.GA

org.jboss.xnio
Interface IoHandlerFactory<T extends Channel>

Type Parameters:
T - the type of channel that the handler can handle

public interface IoHandlerFactory<T extends Channel>

A factory for I/O handlers. Instances of this interface produce handler instances for clients and servers that deal with arbitrary numbers of connections.


Method Summary
 IoHandler<? super T> createHandler()
          Create a handler for a potential new channel.
 

Method Detail

createHandler

IoHandler<? super T> createHandler()
Create a handler for a potential new channel.

Returns:
the handler

XNIO version 1.1.0.GA

Copyright © 2008 JBoss, a division of Red Hat, Inc.