java.lang.Object
org.opendaylight.openflowjava.protocol.impl.clients.SendEvent
All Implemented Interfaces:
ClientEvent

public class SendEvent extends Object implements ClientEvent
Class representing sending message event.
Author:
michal.polkorab
  • Field Summary Link icon

    Fields
    Modifier and Type
    Field
    Description
    protected io.netty.channel.ChannelHandlerContext
     
    protected byte[]
     
  • Constructor Summary Link icon

    Constructors
    Constructor
    Description
    SendEvent(byte[] msgToSend)
    Constructor.
  • Method Summary Link icon

    Modifier and Type
    Method
    Description
    boolean
    Common method for triggering events.
    void
    setCtx(io.netty.channel.ChannelHandlerContext ctx)
    Sets the ChannelHandlerContext.

    Methods inherited from class java.lang.Object Link icon

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details Link icon

    • msgToSend Link icon

      protected byte[] msgToSend
    • ctx Link icon

      protected io.netty.channel.ChannelHandlerContext ctx
  • Constructor Details Link icon

    • SendEvent Link icon

      public SendEvent(byte[] msgToSend)
      Constructor.
      Parameters:
      msgToSend - message to be sent
  • Method Details Link icon

    • eventExecuted Link icon

      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
    • setCtx Link icon

      public void setCtx(io.netty.channel.ChannelHandlerContext ctx)
      Sets the ChannelHandlerContext.
      Parameters:
      ctx - context which will be used for sending messages (SendEvents)