Interface OFClient
- All Superinterfaces:
- Runnable
- All Known Implementing Classes:
- CallableClient,- ListeningSimpleClient,- SimpleClient,- UdpSimpleClient
Unifying interface for simple clients / switch simulators.
- Author:
- michal.polkorab
- 
Method SummaryModifier and TypeMethodDescriptioncom.google.common.util.concurrent.SettableFuture<Boolean>Returns the isOnlineFuture which is set when client is started.com.google.common.util.concurrent.SettableFuture<Boolean>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 Details- 
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.
- 
setScenarioHandlerSets 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
 
 
-