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 Summary

    Modifier and Type
    Method
    Description
    com.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.
    void
    Sets the ScenarioHandler.
    void
    setSecuredClient(boolean securedClient)
    Sets wether client should use encrypted communication.

    Methods inherited from interface java.lang.Runnable

    run
  • Method Details

    • getIsOnlineFuture

      com.google.common.util.concurrent.SettableFuture<Boolean> getIsOnlineFuture()
      Returns the isOnlineFuture which is set when client is started.
    • getScenarioDone

      com.google.common.util.concurrent.SettableFuture<Boolean> getScenarioDone()
      Returns the scenarioDone when scenario is successfully finished.
    • setScenarioHandler

      void setScenarioHandler(ScenarioHandler scenario)
      Sets the ScenarioHandler.
      Parameters:
      scenario - list of desired actions
    • setSecuredClient

      void setSecuredClient(boolean securedClient)
      Sets wether client should use encrypted communication.
      Parameters:
      securedClient - true is client should use encrypted communication, false otherwise