Class WaitForMessageEvent
- java.lang.Object
-
- org.opendaylight.openflowjava.protocol.impl.clients.WaitForMessageEvent
-
- All Implemented Interfaces:
ClientEvent
public class WaitForMessageEvent extends Object implements ClientEvent
Class representing waiting on message.- Author:
- michal.polkorab
-
-
Constructor Summary
Constructors Constructor Description WaitForMessageEvent(byte[] headerExpected)
Constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
eventExecuted()
Common method for triggering events.void
setHeaderReceived(byte[] headerReceived)
Sets the received header.
-
-
-
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
-
setHeaderReceived
public void setHeaderReceived(byte[] headerReceived)
Sets the received header.- Parameters:
headerReceived
- header (first 8 bytes) of expected message
-
-