Class SleepEvent
- 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 Summary
Constructors Constructor Description SleepEvent(long sleepTime)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
eventExecuted()
Common method for triggering events.
-
-
-
Constructor Detail
-
SleepEvent
public SleepEvent(long sleepTime)
Constructor.- Parameters:
sleepTime
- time ofThread.sleep(long)
in milliseconds
-
-
Method Detail
-
eventExecuted
public boolean eventExecuted()
Description copied from interface:ClientEvent
Common method for triggering events.- Specified by:
eventExecuted
in interfaceClientEvent
- Returns:
- true if event executed successfully
-
-