Fix checkstyle warnings in netconf-cli
[controller.git] / third-party / openflowj / src / main / java / org / openflow / example / SelectListener.java
1 /**
2  *
3  */
4 package org.openflow.example;
5
6 import java.io.IOException;
7 import java.nio.channels.SelectionKey;
8
9 /**
10  * @author Rob Sherwood (rob.sherwood@stanford.edu)
11  *
12  */
13 public interface SelectListener {
14     /**
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
18      * @throws IOException
19      */
20     void handleEvent(SelectionKey key, Object arg) throws IOException;
21 }