org.openflow.example
Interface SelectListener

All Known Implementing Classes:
SimpleController

public interface SelectListener

Author:
Rob Sherwood (rob.sherwood@stanford.edu)

Method Summary
 void handleEvent(java.nio.channels.SelectionKey key, java.lang.Object arg)
          Tell the select listener that an event took place on the passed object
 

Method Detail

handleEvent

void handleEvent(java.nio.channels.SelectionKey key,
                 java.lang.Object arg)
                 throws java.io.IOException
Tell the select listener that an event took place on the passed object

Parameters:
key - the key used on the select
arg - some parameter passed by the caller when registering
Throws:
java.io.IOException