4 package org.openflow.example;
6 import java.io.IOException;
7 import java.nio.channels.SelectionKey;
10 * @author Rob Sherwood (rob.sherwood@stanford.edu)
13 public interface SelectListener {
15 * Tell the select listener that an event took place on the passed object
16 * @param key the key used on the select
17 * @param arg some parameter passed by the caller when registering
20 void handleEvent(SelectionKey key, Object arg) throws IOException;