java.lang.Object
org.opendaylight.openflowjava.protocol.impl.clients.SleepEvent
All Implemented Interfaces:
ClientEvent

public class SleepEvent extends Object implements ClientEvent
Class representing sleep (wait) event.
Author:
michal.polkorab
  • Constructor Details

    • SleepEvent

      public SleepEvent(long sleepTime)
      Constructor.
      Parameters:
      sleepTime - time of Thread.sleep(long) in milliseconds
  • Method Details

    • eventExecuted

      public boolean eventExecuted()
      Description copied from interface: ClientEvent
      Common method for triggering events.
      Specified by:
      eventExecuted in interface ClientEvent
      Returns:
      true if event executed successfully