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.
createHandler
IoHandler<? super T> createHandler()
- Create a handler for a potential new channel.
- Returns:
- the handler
Copyright © 2008 JBoss, a division of Red Hat, Inc.