Interface OFClient
- 
- All Superinterfaces:
- Runnable
 - All Known Implementing Classes:
- CallableClient,- ListeningSimpleClient,- SimpleClient,- UdpSimpleClient
 
 public interface OFClient extends Runnable Unifying interface for simple clients / switch simulators.- Author:
- michal.polkorab
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.common.util.concurrent.SettableFuture<Boolean>getIsOnlineFuture()Returns the isOnlineFuture which is set when client is started.com.google.common.util.concurrent.SettableFuture<Boolean>getScenarioDone()Returns the scenarioDone when scenario is successfully finished.voidsetScenarioHandler(ScenarioHandler scenario)Sets the ScenarioHandler.voidsetSecuredClient(boolean securedClient)Sets wether client should use encrypted communication.
 
- 
- 
- 
Method Detail- 
getIsOnlineFuturecom.google.common.util.concurrent.SettableFuture<Boolean> getIsOnlineFuture() Returns the isOnlineFuture which is set when client is started.
 - 
getScenarioDonecom.google.common.util.concurrent.SettableFuture<Boolean> getScenarioDone() Returns the scenarioDone when scenario is successfully finished.
 - 
setScenarioHandlervoid setScenarioHandler(ScenarioHandler scenario) Sets the ScenarioHandler.- Parameters:
- scenario- list of desired actions
 
 - 
setSecuredClientvoid setSecuredClient(boolean securedClient) Sets wether client should use encrypted communication.- Parameters:
- securedClient- true is client should use encrypted communication, false otherwise
 
 
- 
 
-