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 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 interface ClientEvent
      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