Class SleepEvent
java.lang.Object
org.opendaylight.openflowjava.protocol.impl.clients.SleepEvent
- All Implemented Interfaces:
ClientEvent
Class representing sleep (wait) event.
- Author:
- michal.polkorab
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
SleepEvent
public SleepEvent(long sleepTime) Constructor.- Parameters:
sleepTime
- time ofThread.sleep(long)
in milliseconds
-
-
Method Details
-
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
-