SelectorAction.java 555 Bytes
Newer Older
Gaston Dombiak's avatar
Gaston Dombiak committed
1 2 3 4 5 6 7 8 9 10 11
/**
 * $RCSfile$
 * $Revision: $
 * $Date: $
 *
 * Copyright (C) 2006 Jive Software. All rights reserved.
 *
 * This software is published under the terms of the GNU Public License (GPL),
 * a copy of which is included in this distribution.
 */

12
package org.jivesoftware.openfire.net;
Gaston Dombiak's avatar
Gaston Dombiak committed
13 14 15 16 17 18 19 20 21 22 23 24

import java.io.IOException;
import java.nio.channels.SelectionKey;

/**
 * @author Daniele Piras
 */
interface SelectorAction
{
  public abstract void read( SelectionKey key ) throws IOException;
  public abstract void connect( SelectionKey key ) throws IOException;
}