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